Array sub-schema validation #5

Merged
merged 5 commits into from Mar 26, 2013

Projects

None yet

2 participants

Contributor

Added test and code to validate array sub schemas. Here's the test to see the implementation: https://github.com/domharrington/schemata/blob/868701a7a6894e3d1d65c693058bb89b2520737c/test/schemata.test.js#L537-L562

Errors are added to the array index in the model where the error occurred. Is this okay?

Also:

  • added 0.10 to travis.yml
  • misc linting and whitespace
@serby serby merged commit 8bf872d into serby:master Mar 26, 2013

1 check passed

default The Travis build passed
Details
Owner
serby commented Mar 26, 2013

Can I confirm that this fixes #4?

@bengourley bengourley referenced this pull request Mar 3, 2016
Merged

Progress on dealing with schemata.Array(<PrimitiveType>) #37

0 of 2 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment