Closed kaidokert closed 10 months ago
I can't think of a good reason you would want this in a schema. is there a use case you had in mind?
Yes, in some cases accepting either a string or a list of strings for instance is perfectly okay.
cfgv tries to encourage schemas of structured data. what you're describing is not well structured and so I think it's best for you to use your own custom checkers on your own (and not something that's encouraged here)
thanks for the pr nonetheless!
Adds an "or" clause validator, a logical addition to
check_and