dbt-labs / hologram

A library for automatically generating Draft 7 JSON Schemas from Python dataclasses
MIT License
9 stars 13 forks source link

Make patternProperties properly inherit definitions from embedded types #16

Closed beckjake closed 5 years ago

beckjake commented 5 years ago

Refactored JsonSchemaMixin.json_schema()

Used the refactor to clean up pattern properties logic use the refactor to narrow the scope of what ExtensibleJsonSchema must do, no more poking around in the cache Fixed Issues around caching of nested definitions