mokkabonna / json-schema-merge-allof

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

Is this library still maintained? #38

Closed heath-freenome closed 1 year ago

heath-freenome commented 1 year ago

It seems like the last commit was over a year ago. We are actively using this library and would hate to see it no longer being active. Please let us know whether we can expect more support.

mokkabonna commented 1 year ago

Yes it is being supported. It was however written for draft 6 and it might not consider all of the new keywords in later versions.

I do also plan to get it up to date with the latest version.

However with the use of custom resolvers I think most of the new keywords can be added by the end user if needed.

Let me know if there are any bugs for your use case.

mokkabonna commented 1 year ago

As long as you don't use a defaultresolver it will fail when it encounters keywords it does not understand. So that should force you to have a resolver if you are using newer keywords. So either you are already using custom resolvers(?) or are not using keywords that are newer.

If you are using custom resolvers for newer keywords, I'd be happy to incorporate them as part of the planned update to new json schema version.