-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
RequireOnlyOne #290
Comments
See draft: #287
If you want to require exactly one: |
ncie |
I think we should document that as a tip in the readme. |
Why are you closing? This is not resolved. |
I closed due to the fact this is included in darcy's draft #287 |
Not sure how to do this right now, but is there a type already available for doing the same thing as
RequireAtLeastOne
but instead forRequireOnlyOne
? I'm running into a problem where I want to require a partial object with only one member. Is there any easy way to do this or is this a type you think would be useful/Upvote & Fund
The text was updated successfully, but these errors were encountered: