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

fix: propagate description on unions #999

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

ssalbdivad
Copy link
Member

// now correctly adds the description to the union and its branches
const t = type("number|string").describe("My custom type")

@ssalbdivad ssalbdivad merged commit 21c0105 into main Jun 6, 2024
6 checks passed
@ssalbdivad ssalbdivad deleted the union-describe-fix branch June 6, 2024 13:20
@github-actions github-actions bot mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (merged or closed)
Development

Successfully merging this pull request may close these issues.

1 participant