pub fn validate(state: &ArchitectureState) -> Vec<ValidationError>Expand description
Validate an ArchitectureState and return all problems found.
An empty Vec means the state is valid and codegen may proceed.
Any entry with Severity::Error should block generation.