Skip to main content

Module diff

Module diff 

Source
Expand description

Schema Diff Visitor

Computes the difference between two schemas and generates Qail operations. Now with intent-awareness from MigrationHint.

Functionsยง

diff_schemas
Compute the difference between two schemas. Returns a Vec<Qail> representing the operations needed to migrate from old to new. Respects MigrationHint for intent-aware diffing.
diff_schemas_checked
Checked variant of diff_schemas that rejects unsupported object families.
validate_state_diff_support
Validate that a schema pair is fully supported by state-based diff.