9 Feb 11:31
EventSourcing and evolving behavior
rogeralsing <roger.alsing <at> precio.se>
2010-02-09 10:31:36 GMT
2010-02-09 10:31:36 GMT
Have anyone dealt with a scenario where the rules and behavior of an entity changes over time and combined that with eventsourcing? e.g. before 2010-01-01 there may be one set of rules, and another after that point. And if you revert state of the entity, you might have to revert the behavior also. I guess this is simply a case where you can keep old behavior in the entity and apply some "if data > xxx then ..." Just wanted to hear if anyone have done this and how it turned out. ------------------------------------
RSS Feed