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

Unable to ensure fastify routes are loaded during setup in unit-testing #627

Open
dsschneidermann opened this issue Nov 25, 2024 · 0 comments · May be fixed by #628
Open

Unable to ensure fastify routes are loaded during setup in unit-testing #627

dsschneidermann opened this issue Nov 25, 2024 · 0 comments · May be fixed by #628

Comments

@dsschneidermann
Copy link

dsschneidermann commented Nov 25, 2024

A missing await when registering the plugins async method with fastify causes this plugin itself to be un-awaitable.

Line in question, solution details in PR, opened momentarily

instance.register(makeGenerateRoutes(config, resolver, security), routeConf);

dsschneidermann added a commit to dsschneidermann/fastify-openapi-glue-awaitable that referenced this issue Nov 25, 2024
dsschneidermann added a commit to dsschneidermann/fastify-openapi-glue-awaitable that referenced this issue Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant