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
I am testing the JSON compatibility check for the object. Similar to tuple, there are multiple cases when adding or removing items for an object in JSON Schema that seem incorrect.
Let me know what do you think!
Examples:
Should be backward compatible - Add properties when additionalProperties false to true
hi @hhkkxxx133 thanks again for testing & contributing!
I agree, in general adding a new property schema should not be backward compatible, but if the additionalProperties was false, that would prevent a conflict.
I agree again, the problem is that the additionalProperties schema must be backward compatible with the property schema(s) that was(were) removed, so there has to be a sub-schema check.
Is correct as well, but the tricky part is similar to Some more in-memory impl. #6, the property (properties) that was removed must be forward compatible with the new additionalProperties schema.
Hello,
I am testing the JSON compatibility check for the object. Similar to tuple, there are multiple cases when adding or removing items for an object in JSON Schema that seem incorrect.
Let me know what do you think!
Examples:
The text was updated successfully, but these errors were encountered: