We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems not to be FastifyRequest
FastifyRequest
req.params
req.log
pino
@types/pino
req
params
log
"fastify": "^2.14.1", "fastify-cors": "^3.0.3", "fastify-file-upload": "^2.0.1", "fastify-helmet": "^3.0.2", "fastify-oas": "^2.7.0", "fastify-static": "^2.7.0", "fastify-websocket": "^1.1.2",
The text was updated successfully, but these errors were encountered:
Would you mind to send a PR? The 1.x branch is in https://github.com/fastify/fastify-websocket/commits/v1.x.
Sorry, something went wrong.
This is fixed now!
No branches or pull requests
🐛 Bug Report
It seems not to be
FastifyRequest
req.params
. (I now know it is in the third (3rd) params)req.log
is undefined, not Pino Logger. I have to import Pino (and install bothpino
and@types/pino
) directly to activate logging.Expected behavior
req
.FastifyRequest
if it does not haveparams
norlog
.Your Environment
The text was updated successfully, but these errors were encountered: