I had an issue raised where someone put $defs at the beginning of their schema, and my solution didn't handle it properly.
In particular, my implementation failed to set the dialect from $schema before building the subschemas in the $defs, which meant they were built using the default dialect.
We should have some tests that ensure $schema is respected regardless of where it appears lexigraphically in the schema. (Of course, it needs to be at the root.)
I had an issue raised where someone put
$defsat the beginning of their schema, and my solution didn't handle it properly.In particular, my implementation failed to set the dialect from
$schemabefore building the subschemas in the$defs, which meant they were built using the default dialect.We should have some tests that ensure
$schemais respected regardless of where it appears lexigraphically in the schema. (Of course, it needs to be at the root.)