upgrade

Upgrades a domain event record using registered upgraders.

This method finds all applicable upgraders for the event record and applies them in order. If no upgraders are found, the original record is returned unchanged.

Return

The upgraded event record, or the original if no upgraders apply

Parameters

domainEventRecord

The event record to upgrade

See also