Skip to main content

validate_shape

Function validate_shape 

Source
pub fn validate_shape(
    collection: &str,
    record: &Value,
) -> Result<(), ShapeError>
Expand description

The shape rules under the optimistic stance, which is the one this server takes when a caller says nothing. Authorship is not a property of the bytes, so no rule here is about who may write.