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

feat(zod): Add nullable & nullish to zod output #856

Merged

Conversation

harumaxy
Copy link
Contributor

Status

READY

Description

Orval's zod generator will output optional even if nullable: true is set.
I fixed it to output nullable or nullish by the conditions.

Related PRs

List related PRs against other branches:

branch PR
feature_client_zod link

@vercel
Copy link

vercel bot commented May 12, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @anymaniax on Vercel.

@anymaniax first needs to authorize it.

Copy link
Collaborator

@anymaniax anymaniax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@anymaniax anymaniax merged commit 4e73c03 into orval-labs:master May 17, 2023
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