Skip to content

Default passing validation to false

Compare
Choose a tag to compare
@moubi moubi released this 02 Jun 19:20
· 56 commits to master since this release

If field value is passing its validation the errors object for that field will always default to false. With that in place it is no longer required for validator functions to return falsy value. The should only return error message or true.

#18