Skip to main content

validate_value

Function validate_value 

Source
pub fn validate_value(
    graph: &SchemaGraph,
    ty: &SchemaType,
    value: &SchemaValue,
) -> Result<(), Vec<ValueError>>
Expand description

Validate that value structurally conforms to ty (in the context of graph).