Skip to content

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

Open
JonRC wants to merge 1 commit intoturkerdev:mainfrom
JonRC:separatedTypeProvider
Open

feat: type definition for separated type provider for fastify 5#90
JonRC wants to merge 1 commit intoturkerdev:mainfrom
JonRC:separatedTypeProvider

Conversation

@JonRC
Copy link
Copy Markdown

@JonRC JonRC commented Jun 24, 2024

The interface TypeProvider changed in Fastify 5. Look at fastify/fastify#5427
This PR adjusts the ZodTypeProvider implementation.

It's a break change

@Bram-dc
Copy link
Copy Markdown
Contributor

Bram-dc commented Jul 8, 2024

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

@Bram-dc
Copy link
Copy Markdown
Contributor

Bram-dc commented Jul 8, 2024

#97

@thelinuxlich
Copy link
Copy Markdown

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants