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
Option removeAdditional breaks custom keywords from 6.9.0 #955
Comments
Difficult to say... Would you be able to post a code sample to runkit.com? (it's easy to run there against different versions and try changing things) |
Alternatively you can try running your code against different Ajv versions to identify exactly which release caused the change. |
Sure, there you go (it behave exactly as i decribed) |
Yes, it's definitely the same issue as linked - if you remove removeAdditional it should work. |
Fixing it. |
as a recommendation, you may want to limit keyword to strings with "type" in definition, maybe you have it in your code. |
fixed in 6.9.2 |
Thank you. |
Hi,
we upgraded our AJV from
6.5.0
to6.9.0
and we are struggling with the validation error:Our schema is:
trimmedString
is keyword:and
minTrimmedLength
is keyword:Input is:
In version
6.5.0
everything works fine, but in6.9.0
is that error. Whats wrong?The text was updated successfully, but these errors were encountered: