aurelia / validatejs

Enables expressive validation using decorators and/or a fluent API.
MIT License
22 stars 23 forks source link

Is it possible to prioritise validation rules and cancel the validation of expensive rules? #83

Closed richardbartley closed 8 years ago

richardbartley commented 8 years ago

There are simple rules, i.e. required, max length, etc and these are cheap to validate. If there is an expensive service / database validation rule, can we prioritise the rules and defer execution of the expensive rule until the simple ones pass ok?

EisenbergEffect commented 8 years ago

@jdanyow Can this be closed as a duplicate since there's heavy discussion on async rules in other issues?

jdanyow commented 8 years ago

I was keeping it open as a reference/reminder

jdanyow commented 8 years ago

Issue moved to aurelia/validation #289 via ZenHub