Martin Zagora
Martin Zagora
Hi, can you submit a PR for this please?
The only thing that pops to my mind years after writing this is that I never expected a conflict. If you have a format `xxx` meaning one thing and format...
Yeah, in this case, that's bad. It probably should have lived on the instance, not the class. I don't see a downside in changing that with a PR.
yeah, that's really nothing that can be done here that I know
Potentially I'd accept a PR which would introduce a new constructor variable, either specifying a delta as a number, or a comparison function that should be used when comparing type...
Agree with you, that would be definitely useful to have :+1:
As you see here: https://github.com/zaggino/z-schema/blob/master/src/ZSchema.js#L110-L141 `validate` method both compiles & validates the schema before it's used for validation of json.
There's a method `validateSchema` which you can use to compile & validate your schemas on server startup if you wish to do so: https://github.com/zaggino/z-schema/blob/master/src/ZSchema.js#L97-L109
This should be probably put into a README
`ignoreUnresolvableReferences` - this one will ignore validation of `$schema` keywords, not `$ref`, refs must be always resolved Ideally you should load all schemas into an array and then pass this...