mokkabonna / json-schema-merge-allof

Simplify your schema by combining allOf
97 stars 23 forks source link

Add "deep" option #5

Closed epicfaace closed 4 years ago

epicfaace commented 5 years ago

When "deep" is set to false, then the merger function only merges a top-level allOf, if present.

By default, it is set to true, for backwards compatibility.

epicfaace commented 5 years ago

@mokkabonna

epicfaace commented 4 years ago

@mokkabonna any updates with this PR? It would help land allOf functionality for react-jsonschema-form (https://github.com/rjsf-team/react-jsonschema-form/pull/1380)

mokkabonna commented 4 years ago

Looks good, but make sure the travis build passes first.

mokkabonna commented 4 years ago

I just did it myself :) Thx for the PR!