v2.1
·
706 commits
to master
since this release
- assertions are now inherited from
Model.prototype
, which enables you to add global assertions - assertions now require to return
true
to validate. Truthy values do not pass anymore - assertions error messages can now be functions called with the assertion result as argument