Skip to content
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

Error: Zod type ZodDiscriminatedUnion is not supported #10

Closed
Mathiarul opened this issue Jan 28, 2025 · 1 comment
Closed

Error: Zod type ZodDiscriminatedUnion is not supported #10

Mathiarul opened this issue Jan 28, 2025 · 1 comment

Comments

@Mathiarul
Copy link

Mathiarul commented Jan 28, 2025

I have discriminatedUnion in my schema, if i remove that, it works fine.

Additional information: Schema which was using discriminated union was a nested schema

@matejchalk
Copy link
Owner

I've just released ZodDiscriminatedUnion support from #8 in version 0.1.5.

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

No branches or pull requests

2 participants