turkerdev / fastify-type-provider-zod

MIT License
303 stars 19 forks source link

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

Open JonRC opened 4 weeks ago

JonRC commented 4 weeks 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 2 weeks ago

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

Bram-dc commented 2 weeks ago

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