Closed andijcr closed 3 months ago
Looks ok in principal.
1. Maybe a `std::bitset` is a nicer than a `std::set<enum>`
I went with absl::InlinedVector because performing a set difference with bitset looks a bit more obscure
force push: addressed most of the review comments
force push: other review comments
fixed unnecessary json::Value copy in normalized_type
Implementation of
bool check_compatible(const json_schema_definition& reader, const json_schema_definition& writer);
for string, numeric JSON types, to allow checking compatibility of a subset of JSON schema draft 4The checking is done by traversing both schemas, looking for a rule in the writer schema that is less strict than its counterpart in the reader schema. If no such rule is found, then the result is true
Fixes: https://redpandadata.atlassian.net/browse/CORE-3183
Backports Required
Release Notes