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
First of all, thank you for providing this middleware. I've been using it across multiple projects.
How about letting users pass an Ajv instance to Validator? In my case this would be an instance of the 2019-09 draft version[1].
const Ajv2019 = require('ajv/dist/2019') const ajv = new Ajv2019() const validator = new Validator(ajv)
[1] https://ajv.js.org/json-schema.html#draft-2019-09
Cheers Patrick
The text was updated successfully, but these errors were encountered:
Glad to hear you're finding this package helpful!
That's a nice idea — if you're able to open a PR for this I'd be very happy to review it.
Sorry, something went wrong.
allow custom Ajv instance (closes simonplend#115)
65853b0
bd6c04d
No branches or pull requests
First of all, thank you for providing this middleware. I've been using it across multiple projects.
How about letting users pass an Ajv instance to Validator? In my case this would be an instance of the 2019-09 draft version[1].
[1] https://ajv.js.org/json-schema.html#draft-2019-09
Cheers
Patrick
The text was updated successfully, but these errors were encountered: