Upcasting

Upcasting is a technique used to convert old versions of events to the current version. This is useful when the event schema evolves over time while maintaining compatibility with previously stored events.