Skip to main content

Module validator

Module validator 

Source
Expand description

Constraint validator — checks deltas against committed state.

This is the core of the CRDT/SQL bridge. When a delta arrives from a peer, the validator checks all applicable constraints against the leader’s committed state. If any constraint is violated, the delta is rejected with a compensation hint.

Modules§

bitemporal
Bitemporal-aware validation helpers.

Structs§

ProposedChange
A proposed row change to validate.
Validator
The constraint validator.
Violation
A single constraint violation.

Enums§

ValidationOutcome
Outcome of validating a proposed change against constraints.