Open cayuu opened 6 years ago
Currently the following seems to pass validation:
const model = {name: {lock: true}} Skematic.validate(model, {name: 'Jo'}) // -> { valid: true, errors: null }
That's okay, but there's no way to force a fail. Setting {strict: true} should probably fail it.
{strict: true}
Currently the following seems to pass validation:
That's okay, but there's no way to force a fail. Setting
{strict: true}
should probably fail it.