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
add option to disable/ignore request-id header #4193
Conversation
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.
Could you update the documentation as well?
then it LGTM 👍🏽
@Eomm Yeah, I can probably do that. (update the docs) So, the current PR implementation does not break anything, and Also, setting requestIdHeader to PS: here is why:
|
generated by running 'node build/build-validation.js' after change on 'build-validation.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.
Good work, could you add this new option to the docs?
Adding documentation for opt-out of 'requestHeaderId'
sorry, didn't mean to do that. I updated the docs |
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
feat: disable/ignore request-id header (fastify#4193)
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 #4192
This way it should not break anything, just allow for
requestIdHeader
to be ignored by setting it explicitly tofalse
(I am not sure if I updated all those config validation and typescript files correctly.)
Checklist
npm run test
andnpm run benchmark
and the Code of conduct