turkerdev / fastify-type-provider-zod

MIT License
413 stars 25 forks source link

feat: type definition for separated type provider for fastify 5 #90

Open JonRC opened 5 months ago

JonRC commented 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.

It's a break change

Bram-dc commented 4 months ago

The reason the interface was changed is that we can now use z.input and z.output.

Bram-dc commented 4 months ago

https://github.com/turkerdev/fastify-type-provider-zod/pull/97

thelinuxlich commented 2 months ago

+1