We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jscheme = require('jscheme').new() jscheme.add 'min-length-5', (val) -> val.length >= 5 jscheme.add 'contact', name: 'string, min-length-5'
jscheme parses the validator string min-length-5 into min, which results in the error 'contact.name: missing validator min',
min-length-5
min
'contact.name: missing validator min',