Geraint

Results 81 comments of Geraint

Feature possibly mentioned in [this SO question](http://stackoverflow.com/questions/26549971/json-schema-get-the-schema-for-given-property-in-js) (depending on interpretation).

This is used as part of detecting/handling recursion when the `checkRecursive` option is used. However, it should be removed again after validation. I've made a change (#212), but I'd prefer...

@Bartvds - if we're going to get rid of it, then why use `grunt-concat-sourcemap`? Why not use `grunt-contrib-concat` to do the building instead? Or were you suggesting that it be...

OK - I'll remove it by hand for now, and let you know when I've published to NPM. @Bartvds, your prepublish script would indeed be useful. :)

Yeah - if it's causing problems, let's just take it out of the repo (i.e. part of the build process). Although: was it causing problems in the `.min.js` file as...

Thanks. :) So can this be closed, as the offending line is removed in 1.0.15+?

Thanks! Should be fixed in latest version, let me know if it's not.

What use-case are you looking to enable here? Are you intending to perform position-specific validation or something? _(edited: argh typing reflexes)_

So you're expecting an error if a schema has an empty array for `required`? `tv4` is generally extremely lenient in what it accepts as a schema, because it's not the...