-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
global options are not taked into account when route options are defined partially #340
Open
2 tasks done
Labels
Comments
blephy
changed the title
global options are not well merged with route option
global options are not taked into account when route option are defined partially
Jan 2, 2025
blephy
changed the title
global options are not taked into account when route option are defined partially
global options are not taked into account when route options are defined partially
Jan 2, 2025
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
Yes for sure, CAN you add me to push on repository ? |
There is no need to give you push permissions. You fork the repository into your account. Clone your repo locally. Then make your changes and then create a pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Fastify version
5.2.0
Plugin version
8.0.1
Node.js version
22.12.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
15.1.1
Description
Given this plugin registered has follow :
if a route is registered has follow :
This
onInvalidRequestPayload
hook provided in the global configuration at plugin registration is not taken into account, instead, the 'default' hook from the plugin is used.Link to code that reproduces the bug
No response
Expected Behavior
This plugin should merge every options with :
The text was updated successfully, but these errors were encountered: