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

one_of #17

Open
jonthegeek opened this issue Aug 12, 2023 · 2 comments
Open

one_of #17

jonthegeek opened this issue Aug 12, 2023 · 2 comments
Milestone

Comments

@jonthegeek
Copy link
Owner

As a(n) API designer, I specify that a schema uses one of a set of other schemas, so that I can quickly define validation.

@jonthegeek
Copy link
Owner Author

This, #16, and #15 should probably be both classes and functions. At least that's what I thought when I made a note in the "TODO" section of rapid.

@jonthegeek
Copy link
Owner Author

one_of is a straight up S7 union.

@jonthegeek jonthegeek added this to the 1.0 milestone Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant