Skip to content

Add support for Zod v4 #4442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for Zod v4 #4442

wants to merge 1 commit into from

Conversation

niba
Copy link

@niba niba commented Jun 16, 2025

fixes #4322

In Zod v4, we still need a fallback trick to prevent type loss.
Added tests for Zod v4 and the fallback case

related discussion #4092

@schiller-manuel
Copy link
Contributor

thanks for starting this. however, we need to discuss first whether / how we want to continue with the whole adapter setup

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.

Zod 4 support for @tanstack/zod-adapter (specifically fallback)
2 participants