Releases: mpneuried/obj-schema
Releases · mpneuried/obj-schema
Bugfix: Array isn't an object
Bugfix: sub-schemas: missing customerror option
fixed: pass of missing customerror option to sub schemas
Error: sub schema paths
added path to error object to show the path through sub-schemas and optimized the generated name for sub schemas
Directly nested subschemas
it's now possible to nest a sub-schema direct within the parent as schema: { ... } / [ ... ]
; Optimized tests for 100% codeverage
basic input object
validate the basic input object for a object/array
Custom Error Object
It's now possible to define a function options.customerror
to generate custom error objects
sub-schema data type validation
- Optimized sub-schema data type validation to check for object/array
- Use coveralls directly with coffee
1.2.2
coveralls.io
Added badges and coveralls report
Array length & Array Schema
- Added length checks to array type
- Made it possible to use an Array as schema to check the elements of an array
- Optimized dev env.
- Updated deps