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
Fix context tracking with als run #3571
Conversation
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@B4nan can you please verify this fixes the Nest.js problem? |
Amazing! Will verify this first thing in the morning, need to go AFK now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation is LGTM. Does it have any perf impact? i guess not.
It'd be minimal if at all. Once we drop Node v12 I can remove the 2 closures. There is not much we can do about it anyway unless it's fixed in Node.js. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Node: 12 Node: 14 Node: 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
request.body = body | ||
handler(request, reply) | ||
} | ||
// We cannot use resource.bind() because it is broken in node v12. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should have a link to the issue here, but 🤷♂️
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #3570
Checklist
npm run test
andnpm run benchmark
and the Code of conduct