tangxuehua / enode

ENode is a framework aims to help us developing ddd, cqrs, eda, and event sourcing style applications.
http://www.cnblogs.com/netfocus/category/496012.html
MIT License
1.81k stars 564 forks source link

consider to support always get the lastest aggregate from command context #48

Closed tangxuehua closed 8 years ago

tangxuehua commented 8 years ago

if cmd1 want to load agg2 to get some info which used to update agg1, in this case, agg2 will be cached in local memory for ever, and never will be changed again. That means agg2's state is always old. But developer hope every time he load agg2 can get the latest state of agg2. That's the issue.