Eventuous / eventuous

Event Sourcing library for .NET
https://eventuous.dev
Apache License 2.0
447 stars 71 forks source link

Add basic snapshot support to Aggregate #219

Closed ugumba closed 1 year ago

ugumba commented 1 year ago

This builds on #218 , and adds support for

A snapshot is state + version.

ugumba commented 1 year ago

With the requirement to retain exposure of events leading up to the aggregate's state, I can't see a useful way of progressing with snapshots in the form I proposed.

alexeyzimarev commented 1 year ago

Man, I am not getting it: "With the requirement to retain exposure of events leading up to the aggregate's state".

The collection will contain only what's loaded anyway. If you load a snapshot and one event, the collection would have two elements. I tried to explain it several times, not sure what's wrong with my wording.

ugumba commented 1 year ago

Man, I am not getting it: "With the requirement to retain exposure of events leading up to the aggregate's state".

The collection will contain only what's loaded anyway. If you load a snapshot and one event, the collection would have two elements. I tried to explain it several times, not sure what's wrong with my wording.

Yes, you've been clear enough, which was probably not reflected well in my closing message.

I've decided that Eventuous is not a great fit for my work, and I have to move on. My contribution is still available if anyone wants to pick it up or discuss.