Open 6293 opened 1 year ago
https://github.com/getsentry/json-schema-diff/pull/20#issuecomment-1540131938
This is a completely unrealistic schema (I hope), but I'm just curious, do you think it is possible to handle this case and produce no diff?
let lhs = json! {{ "anyOf": [ {"properties": {"foo": {"type": "integer"}}}, {"properties": {"foo": {"type": "string"}}} ] }}; let rhs = json! {{ "properties": { "foo": { "type": ["integer", "string"] } } }};
https://github.com/getsentry/json-schema-diff/pull/20#issuecomment-1540131938