Regex for validating emails scientific controversy with radioisotopic dating
It is unit tested with 100% code coverage and can be considered fit for production.
You can use the async validate function even if no validations are async, it still returns a promise.
If you want to modify which values are considered empty for example you can simply overwrite You can find some basic examples included in the project.The validation constraints can be declared in JSON and shared between clients and the server. One thing that is a bit unorthodox is that most validators will consider undefined values (,) valid values.So for example adding a constraint of at least 6 characters will be like saying If the attribute is given it must be at least 6 characters.Though for the datetime and date validator to you need to specify a parse and format function and for that you most likely will want to use a library, is highly recommended.If you want to use async validation you need to use a runtime that supports Promises.