suppose, i have a request object which sends
[
a => 0,
b => 0
]
I want to have a validation, which will result to an error as both a and b are 0. I need at least one to be 1. how can I do that? Another working eg:
[
a => 0,
b => 1
]
it should pass
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire