sagold / json-schema-library

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation
MIT License
175 stars 18 forks source link

feat: oneOf pointer w/o data should return schema #41

Closed acao closed 1 year ago

acao commented 1 year ago

this is the breaking change version

if a non-breaking change is preferred, I can propose an alternative PR where we add a getRawSchema() that passes a config option to step() to behave this way

this is a fantastic library for the codemirror 6 mode we are building, however we've had to patch for this, which we can't ship with obviously.

what do you think?