Skip to content

fix: findCommonHooksPrefix logical error - #524

Open
Huodoo wants to merge 2 commits into
fastify:mainfrom
Huodoo:fix/findCommonHooksPrefixLogicalError
Open

fix: findCommonHooksPrefix logical error#524
Huodoo wants to merge 2 commits into
fastify:mainfrom
Huodoo:fix/findCommonHooksPrefixLogicalError

Conversation

@Huodoo

@Huodoo Huodoo commented Jul 22, 2026

Copy link
Copy Markdown

pluginsMeta is shared among all nodes, which leads to an error in the findCommonHooksPrefix logic

Checklist

@jean-michelet

Copy link
Copy Markdown
Member

Can you plz share a reproducible example with the error you mention?
Ideally a github repo, or at least code samples

@Huodoo

Huodoo commented Jul 22, 2026

Copy link
Copy Markdown
Author

Can you plz share a reproducible example with the error you mention? Ideally a github repo, or at least code samples

routes
├── index.js
├── autohooks.js
└── child
└── index.js
autohooks with this will cause error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants