fastify / fastify-autoload

Require all plugins in a directory
MIT License
324 stars 66 forks source link

fix: autohooks root prefix #377

Closed climba03003 closed 4 months ago

climba03003 commented 4 months ago

Fixes #376

It would say that it is a hotfix only, I believe there will be some edge case that cannot be found yet.

A long term solution is refactor the code and manage the plugin and hooks information during the discovery process. The current information is scattered between the plugin tree and metadata store.

Checklist