Skip to main content

validate_graph

Function validate_graph 

Source
pub fn validate_graph(graph: &SchemaGraph) -> Result<(), Vec<SchemaError>>
Expand description

Validate a SchemaGraph for structural well-formedness.

Returns the full list of collected errors. Ordering is deterministic: errors are reported in the order they are discovered while walking the graph.