Skip to content

Out-of-order schemas #941

Description

@gregsdennis

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions