-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
💬 Question here
I feel like this should be covered somewhere in documentation, but if it is I keep missing it.
I'm trying to use Fastify, TypeBox, and FastifyTypeBoxProvider.
I create my schemas. If I pass the Schema directly to the route() method, the types are provided successfully in the handler
However, if I try to add the schema to the Fastify Instance and reference it there, it no longer works.
I am also using @fastify/swagger and @fastify/swagger-ui, and that is being generated with the type references intact.
Is this just not something that can be supported by TypeBoxTypeProvider?
Your Environment
- node version: 22
- fastify version: "^5.2.1"
- os: Mac
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed