Revision
interface Revision
Interface for entities that have version/revision information.
Revisions provide a way to track changes and versions of domain objects, enabling backward compatibility, migration strategies, and proper event deserialization across different versions of the domain model.
In domain-driven design contexts, revisions are particularly important for:
Domain events to indicate the aggregate version that produced them
Ensuring event schema compatibility during event sourcing
Supporting gradual migration of domain models
Maintaining audit trails of structural changes
See also
for domain events that implement this interface
for the default revision value