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

Add or operation #13

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Add or operation #13

merged 2 commits into from
Apr 16, 2024

Conversation

exoego
Copy link
Contributor

@exoego exoego commented Apr 16, 2024

Part of #2

Limitation: Zod allows chaining .or multiple times, like z.string().or(z.number()).or(z.boolean()), but this PR limits only one-time.
I couldn't make it 🤷‍♂️
I hope TypeScript experts fix this.

@mieszkosabo
Copy link
Owner

Thanks for giving it a try, I'll take a look at it soon and see if I can make it work 👍

@mieszkosabo mieszkosabo merged commit 87e2342 into mieszkosabo:main Apr 16, 2024
1 check passed
@exoego exoego deleted the or branch April 16, 2024 09:46
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.

2 participants