CQRS event versioning
Posted
by Arnis L.
on Stack Overflow
See other posts from Stack Overflow
or by Arnis L.
Published on 2010-03-29T22:20:35Z
Indexed on
2010/03/29
22:23 UTC
Read the original article
Hit count: 536
Versioning
If your events changes you would create a new version of that event, and keep the old ones. To keep your domain code form being bloated with handling of all versions of events you would basically introduce a component that converts your events from previous to newer versions, and then apply them on the domain. Remember that events are things that actually happened in your domain so in most cases the information in deprecated events are valuable.
I still haven't found any example of this.
Any help?
© Stack Overflow or respective owner