4 ms·
Two reasons: 1. It allows for asynchronous validation, see: http://technologyadvice.github.io/better-email-validation-with-obey-and-mailgun/ http://technologyad
by ksafranski 10y ago
Two reasons:
1. It allows for asynchronous validation, see: http://technologyadvice.github.io/better-email-validation-with-obey-and-mailgun/ http://technologyadvice.github.io/better-email-validation-wi...
2. It more cleanly supports the nature and flow of data i/o - in our use of Obey we are (almost) always following validation up with another async operation, i.e. obey.validate({}).then(...something else with the data...)
- wwalser 10y agoSo the answer to the question "are some of the validators async?" is "Yes." That makes perfect sense then, thanks! Looks like a great lib where async validators are needed.