Open iarkaroy opened 3 years ago
Any update on this?
I have not had a chance to review this deeper, but for clarification sake, I am understanding you want this validation to fail at the string
rule and stop all remaining validation for the attribute under test, this never hitting unique
, but all remaining fut
S will continue
I do not know if this is doable currently. I could not find any doc for this. I want the validator to stop immediately when a rule for an attribute fails. It seems the validator continues to execute all the rules for that attribute. This is happening only when using
checkAsync
.Example:
In above code, the
unique
rule should not be executed (at least, in my use case). But all the rules are being executed andunique called
is printed on console.How can I stop immediately when a rule fails?