We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While reviewing the comment here on #22, I came across a bug where we try to read the properties of a possible null value.
null
This can be recreated with the following on 2.12.0:
var validator = require('is-my-json-valid'); var validate = validator({ "type": ["null", "object"], "properties": { "example": { "type": "string" } } }); validate(null);
The text was updated successfully, but these errors were encountered:
It seems that is-my-json-valid doesn't respect the type array, I have just run into this bug
Sorry, something went wrong.
This is a show stopper for us...any idea when this will be fixed?
Submitted a PR here.
This seems to have been resolved with @ghost PR
No branches or pull requests
While reviewing the comment here on #22, I came across a bug where we try to read the properties of a possible
null
value.This can be recreated with the following on 2.12.0:
The text was updated successfully, but these errors were encountered: