EventUpgrader

interface EventUpgrader

Interface for upgrading domain event records.

Event upgraders are responsible for transforming domain event records from older schema versions to newer ones. They are ordered and applied sequentially to ensure proper event evolution.

See also

Properties

Link copied to clipboard

The event named aggregate this upgrader handles.

Functions

Link copied to clipboard
abstract fun upgrade(domainEventRecord: DomainEventRecord): DomainEventRecord

Upgrades a domain event record to a newer schema version.