Skip to content
New issue

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

Support for --uri-resolver #209

Open
willfarrell opened this issue Jun 10, 2022 · 2 comments · May be fixed by #210
Open

Support for --uri-resolver #209

willfarrell opened this issue Jun 10, 2022 · 2 comments · May be fixed by #210

Comments

@willfarrell
Copy link

willfarrell commented Jun 10, 2022

New option that allow the use of fast-uri. https://ajv.js.org/options.html#uriresolver

ajv compile ... --uri-resolver=fast-uri -s schema.json -o schema.js
@epoberezkin
Copy link
Member

I assume it won't be in dependencies - it would be just a name of JS file to be passed to require that returns the required interface - is that right?

@willfarrell
Copy link
Author

That's what I was imagining. I've updated above with what I imagine it could look like.

@willfarrell willfarrell linked a pull request Jun 11, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants