Apicurio / apicurio-registry

An API/Schema registry - stores APIs and Schemas.
https://www.apicur.io/registry/
Apache License 2.0
609 stars 269 forks source link

Expose more details on JSON subschema compability violation DiffType #1441

Open shionefaye opened 3 years ago

shionefaye commented 3 years ago

Currently, if a subschema change of a combined schema is backward incompatible, the DiffType is COMBINED_TYPE_SUBSCHEMA_NOT_COMPATIBLE.

It is not very helpful to diagnose which part of the subschema change is incompatible. For my own use case, I want to understand whether the subschema change is in a specific category of DiffType and branch the logic in later process.

Can it emit the exact DiffType of the subschema instead of COMBINED_TYPE_SUBSCHEMA_NOT_COMPATIBLE?

shionefaye commented 3 years ago

Hi jsenko,

May I ask what is the priority of this feature in your backlog? I really hope to use this feature in our software.

Regards, shionefaye

EricWittmann commented 3 years ago

@jsenko thoughts on this? I thought we had already made some progress/improvements on this.