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
How do I extend ajv with custom packages, eg https://github.com/ajv-validator/ajv-keywords?
ajv
https://github.com/ajv-validator/ajv-keywords
I don't see how I can grab the ajv instance to enable something like this:
require('ajv-keywords')(ajv); ajv.validate({ instanceof: 'RegExp' }, /.*/); // true ajv.validate({ instanceof: 'RegExp' }, '.*'); // false
It doesn't look like I can trigger this via the ajvConfigBody options for example.
ajvConfigBody
Thanks!
The text was updated successfully, but these errors were encountered:
Have you tried using ajvConfigParams?
ajvConfigParams
Sorry, something went wrong.
No branches or pull requests
How do I extend
ajv
with custom packages, eghttps://github.com/ajv-validator/ajv-keywords
?I don't see how I can grab the
ajv
instance to enable something like this:It doesn't look like I can trigger this via the
ajvConfigBody
options for example.Thanks!
The text was updated successfully, but these errors were encountered: