Open JonRC opened 5 months ago
The interface TypeProvider changed in Fastify 5. Look at https://github.com/fastify/fastify/pull/5427 This PR adjusts the ZodTypeProvider implementation.
TypeProvider
ZodTypeProvider
It's a break change
The reason the interface was changed is that we can now use z.input and z.output.
z.input
z.output
https://github.com/turkerdev/fastify-type-provider-zod/pull/97
+1
The interface
TypeProvider
changed in Fastify 5. Look at https://github.com/fastify/fastify/pull/5427 This PR adjusts theZodTypeProvider
implementation.It's a break change