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

Use .merge instead of .and in Zod Schema #319

Open
rimlin opened this issue Jan 27, 2025 · 0 comments
Open

Use .merge instead of .and in Zod Schema #319

rimlin opened this issue Jan 27, 2025 · 0 comments

Comments

@rimlin
Copy link

rimlin commented Jan 27, 2025

Is it possible to add alternative option generating to use .merge instead of .and method? I want to reuse Zod schemas in project, but .and intersection do not allow to do it.

This option can be a new cli option, like --use-merge.

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

1 participant