Hi, I am trying to figure out the best way to handle event ‘evolution’ if you will, over the life of my system.
If say I today have this and create thousands of events that look like this:
OrderCreated {
id:“213”
customer:“Erich”
}
Then at some point we discover that I need some thing additional, and in a new release enhance it to this:
OrderCreated {
id:“456”
customer:“Erich”
ordertype:“special”
}
So I end up with an event log of two different versions of the same kind persisted events. And my application code mapping of that event is now expecting the new one, with the ordertype, and could potentially fail if say I want to do a replay. How is this typically handled?.