-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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 #41278
Comments
Hi. This seems unlikely to be a bug in Node.js core and might be more appropriate to discuss in one of these venues: |
ghost
mentioned this issue
Dec 22, 2021
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
16/17/18
Platform
5.11.0-43-generic #47~20.04.2-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
yarn
yarn start
curl localhost:3000
curl -X POST localhost:3000
How often does it reproduce? Is there a required condition?
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.
What is the expected behavior?
To return stored value from AsyncLocalStorage.
What do you see instead?
undefined
Additional information
No response
The text was updated successfully, but these errors were encountered: