Skip to main content

compatible_with

Function compatible_with 

Source
pub fn compatible_with(a: &Schema, b: &Schema) -> bool
Expand description

True if every document a accepts is also accepted by b (a is a subschema / b is backward-compatible).