If I want to have scheme like this:
scheme = {
host: schema.isString,
password: schema.minLength([10])
}
I can't check if host is both a longer than 5 and shorter than 10.
Either using multiple validators on a single property could be a really cool new feature or I'm missing something
If I want to have scheme like this:
I can't check if
hostis both a longer than 5 and shorter than 10.Either using multiple validators on a single property could be a really cool new feature or I'm missing something