[V5] Validator : validate a property against an object or an array of the same object type #3605
Unanswered
sergefabre
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible to declare a schema where one property has two possibilities, either
schema.member({obj})
orschema.array().member({obj})
?I tried the following but it does not work :
Beta Was this translation helpful? Give feedback.
All reactions