mokkabonna / json-schema-merge-allof

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

Add if then else support #27

Open mokkabonna opened 3 years ago

mokkabonna commented 3 years ago

Should add all in latest spec, but this is a start.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+1.7%) to 96.529% when pulling 1cc2aa53a5d33c17d0e9c59b13eed77d86ad91c3 on support-if-then-else into 09bea1d99bedc3f702620ffada2abac92f37139e on master.

petejespersqbe commented 2 years ago

Hi. Is there any timeline on this getting merged and released? We're wanting to use if/then/else with @rjsf/core which depends on this package and running into errors.

could not merge subschemas in allOf:
Error: No resolver found for key if. You can provide a resolver for this keyword in the options, or provide a default resolver

Many thanks!

heath-freenome commented 1 year ago

@mokkabonna We have an issue in the 4.x/5.x releases of @rjsf related to if/then/else and would love to get this fixed.