Federico Ciardi
Federico Ciardi
Aliases everywhere🙃
@tux-tn it makes sense to me, definitely smarter😃
I am going to work on this!
It is definitely not safe because errors are checked in `validationResult(req)` which is usually run after all the validation chains. To make your `customValidator` safe you should check `validationResult(req)` both...
Hi, I don't think this should be treated as a bug, but instead as an improvement of `nestedErrors`. In particular `oneOf` allows to apply to validators the boolean operator 'or'...
> > What undoubtedly can be done is a further grouping of errors > > Can you clarify, please? I meant that we may group the errors per branch instead...
Reopening this so that it helps me keep track of thing to do.
Note for whoever wants to try looking into this: probably when data is matched it does not take fields marked with `.optional()` into account.
> Here in Italy we say "Non esiste la pappa pronta", which means you can't find exactly what you need nice and ready to use :) I agree with you...
It would, just be sure to open and develop it against the v7-features branch!