Skip to main content

Module validate

Module validate 

Source
Expand description

Architecture state validator

Checks an ArchitectureState for structural and semantic errors before code is generated or proposals are confirmed.

Structs§

ValidationError
A single validation problem.

Enums§

Severity
Severity of a ValidationError.

Constants§

VALID_FIELD_TYPES
Supported Rust field types for records.fields[*].type.

Functions§

is_valid
Returns true if validate() produces no Error-severity issues.
validate
Validate an ArchitectureState and return all problems found.