m-r
m-r copied to clipboard
EventDescriptor purpose
Thanks for great code!
I have question: what purpose of internal struct EventDescriptor
?
https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/EventStore.cs#L17
Why I should store some kind of event envelope instead of event itself?
https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/EventStore.cs#L37
There are things not exposed from event?
On Wed, Apr 22, 2015 at 11:42 AM, Evgeniy Gryaznov <[email protected]
wrote:
Thanks for great code! I have question: what purpose of internal struct EventDescriptor?
https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/EventStore.cs#L17 Why I should store some kind of event envelope instead of event itself?
— Reply to this email directly or view it on GitHub https://github.com/gregoryyoung/m-r/issues/10.
Studying for the Turing test
Do you mean the aggregate identifier?
Could be other things as well... depends on your implementation On 23 Apr 2015 09:51, "Evgeniy Gryaznov" [email protected] wrote:
Do you mean the aggregate identifier?
— Reply to this email directly or view it on GitHub https://github.com/gregoryyoung/m-r/issues/10#issuecomment-95464457.
Guess it's clear at this point.
I wonder, though, if Version
itself belongs to Event
or should be moved to it's metadata.