-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
breaking: JSON Schema draft-2020-12 #105
Comments
The AJV docs recommend sticking with |
I'm not too much into it tbh - I think we can provide:
|
Wow, I just discovered this:
+1 for keeping |
Somewhat related, is there a way to opt into the 2019 or 2020 version without having to re-implement a ValidatorCompiler? (Like opt into the defaults, but with a few more of the keywords). If you register 2019, and add the 07 spec, can you pick which one you use with the $schema field? |
Evaluate if the next major version should set the JSON schema draft-2020-12 as default
Ref: fastify/fastify#4549
AJV docs: https://ajv.js.org/guide/schema-language.html#draft-2019-09-and-draft-2020-12
The text was updated successfully, but these errors were encountered: