-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
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
Nest + Fastify + AsyncLocalStorage middlewares #3661
Comments
It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment. |
It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. |
Details
The middlewares are not working if fastify (adapter) is installed. When it is removed the middleware starts to work (express adapter), for both GET and POST requests.
Node.js version
14/16/17
Example code
https://github.com/B4nan/nest-fastify-als
Operating system
Ubuntu 20.04
Scope
yarn
yarn start
curl localhost:3000
curl -X POST localhost:3000
To return stored value not undefined.
Module and version
Not applicable.
The text was updated successfully, but these errors were encountered: