simpl-schema
Advanced tools
Changelog
0.3.1
pick
or omit
, the messageBox
and all original SimpleSchema
constructor options are now properly kept. (Thanks @plumpudding)getQuickTypeForKey
may now return additional strings "object" or "objectArray"Changelog
0.3.0
message
to each validation error in the details
array on a thrown ClientError (thanks @unknown4unnamed)SimpleSchema
instanceof checks to fix failures due to multiple instances of the package (thanks @dpankros)messages
for different schemas from affecting the other schemas (thanks @Josh-ES)Changelog
0.2.1
Changelog
0.1.1
type
propertyChangelog
0.0.4
babel-polyfill
dependency. It may not cause problems, but to be safe you'll want to be sure that your app depends on and imports babel-polyfill
or some other ES2015 polyfill package.this.validationContext
is now available in all custom validator functions (thanks @yanickrochon)SimpleSchema.setDefaultMessages(messages)
, passing in the same object you would pass to the MessageBox
constructor, if you want to override the default messages for all schemas. This is in addition to being able to set schema.messageBox
to your own custom MessageBox
instance for a single schema, which you could already do. (thanks @clayne11)extend
is now chainable