We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When discussing the possible solutions for exercise 07, it would be nice to include the use of "or" as a union alternative.
Add the following as a third solution.
const Form = z.object({ repoName: z.string(), privacyLevel: z.literal('private').or(z.literal('public')), });
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
name: Feature request
about: Suggest an idea for this project
title: 'add "or" solution to "07 union problem"'
What is the motivation/use case for changing the behavior?
When discussing the possible solutions for exercise 07, it would be nice to include the use of "or" as a union alternative.
Describe the solution you'd like
Add the following as a third solution.
The text was updated successfully, but these errors were encountered: