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
Gives out an error:
error: uncaughtException: can't resolve reference http://json-schema.org/draft-06/schema#
Using the library in TypeScript v2.5
the following code produce the error:
import * as Ajv from 'ajv'; import * as AjvAsync from 'ajv-async'; import * as AjvKeywords from 'ajv-keywords'; import * as AjvMergePatch from 'ajv-merge-patch'; export const ajv = AjvAsync(new Ajv({ coerceTypes: 'array', jsonPointers: true, allErrors: true, $data: true, removeAdditional: true, })); AjvMergePatch(ajv); AjvKeywords(ajv);
The text was updated successfully, but these errors were encountered:
To work around you can just add meta-schema for draft-06. See https://github.com/epoberezkin/ajv#using-version-6
Sorry, something went wrong.
No branches or pull requests
Gives out an error:
Using the library in TypeScript v2.5
the following code produce the error:
The text was updated successfully, but these errors were encountered: