Skip to content
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

Not listing Fasitfy routes registered with @fastify/autoload #15

Open
BoscoDomingo opened this issue Oct 29, 2024 · 2 comments
Open

Not listing Fasitfy routes registered with @fastify/autoload #15

BoscoDomingo opened this issue Oct 29, 2024 · 2 comments

Comments

@BoscoDomingo
Copy link

When used programmatically with a Fastify app that registers routes automatically from each Router inside their own folders via @fastify/autoload it doesn't correctly identify all routes:
image

There's multiple routers inside those folders, all working correctly, and the only "manual" registration is the healthcheck, which it does correctly print

@VladimirMikulic
Copy link
Owner

VladimirMikulic commented Oct 29, 2024

Thanks for the report @BoscoDomingo.
Could you tell me your Fastify version? Also, are you using TypeScript or JS?

@BoscoDomingo
Copy link
Author

I was using fastify 5.0.0, @fastify/autoload 6.0.2 and TypeScript 5.6.3

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

No branches or pull requests

2 participants