brandur / json_schema

A JSON Schema V4 and Hyperschema V4 parser and validator.
MIT License
230 stars 45 forks source link

Do not expand a subschema if already expanded #113

Closed kytrinyx closed 5 years ago

kytrinyx commented 5 years ago

Subschemas might have a reference, or they could have an 'items' property, which in turn might have a reference.

Either way, if the schema is already expanded, we don't want to try to expand it again.

Fixes brandur/json_schema#112

brandur commented 5 years ago

Thank you Katrina! Amazing tests as always :)