akidee / schema.js

Sophisticated JSON schema based data validation and adaptation
MIT License
173 stars 13 forks source link

additionalProperties now reports name of the property that caused failure. #13

Closed alexgorbatchev closed 12 years ago

alexgorbatchev commented 12 years ago

I think being able to tell in the error message which property was "extra" is a very useful thing.

alexgorbatchev commented 12 years ago

@akidee I agree, this is a good start. Thanks for accepting it.