compileParser does not appear to support properties with type field?: Record<string, unknown>
via JTDSchemaType
.
#2418
Labels
field?: Record<string, unknown>
via JTDSchemaType
.
#2418
What version of Ajv are you using? Does the issue happen if you use the latest version?*
8.12.0
Ajv options object
none
JSON Schema
Sample data
Your code
NOTE: could not reproduce this in Jest, only in the browser - as such the code is a Lit element that allows interaction to reproduce the issue. I could not work out how to write a standalone automated test to produce the same error.
Validation result, data AFTER validation, error messages
What results did you expect?
Json was valid (especially given it is created via the compiled serializer)
Are you going to resolve the issue?
I honestly have no idea how this might be resolved. For now I'm working around it in my code by not using compileParser for this particular schema.
The text was updated successfully, but these errors were encountered: