You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi people, thanks for this cool tool. Is awesome. I'm trying to use json-schemas for my developments, however I'm having something that still I don't understand:
I'm trying to do a very basic json-schema evolution: From this:
You need to specify "additionalProperties": false on the original schema. That is because otherwise the first schema can accept JSON documents with "myField2": "foo" which would not be compatible with the second schema.
I ran into the same issue. In fact, if you're looking for full compatibility then you're out of luck. While it's technically possible to add and remove optional properties with full compatibility checks, there are some serious hoops to jump through. This makes it, IMHO, not workable as a solution.
I've detailed my findings in a quick post, the second part of which proposes a more user friendly approach to implementing JSON Schema compatibility checks.
I've raised #2927 to get feedback and look at the potential of including this in the Schema Registry.
Hi people, thanks for this cool tool. Is awesome. I'm trying to use json-schemas for my developments, however I'm having something that still I don't understand:
I'm trying to do a very basic json-schema evolution: From this:
To this new version, which adds another field "myField2", but is not required.
However I have always in schema registry UI:
Am I missing something?
The text was updated successfully, but these errors were encountered: