Using discriminator
in a definition causes failure to compile if oneOf
contains a reference
#1899
Labels
discriminator
in a definition causes failure to compile if oneOf
contains a reference
#1899
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.10.0
Ajv options object
JSON Schema
Sample data
n/a
Your code
Validation result, data AFTER validation, error messages
What results did you expect?
The schema to compile.
Are you going to resolve the issue?
Not immediately.
Reproduction
https://runkit.com/mshick/620a919455b3e30009ef1f50
The text was updated successfully, but these errors were encountered: