Snapshot Events

May 29, 2010 at 2:31 PM

Are there plans to add snapshot events that are used to re-hydrate objects without replaying a full history?  Long lived objects benefit from this.

 

Thanks,

Adam

Coordinator
May 29, 2010 at 2:38 PM
agbell wrote:

Are there plans to add snapshot events that are used to re-hydrate objects without replaying a full history?  Long lived objects benefit from this.

 

Thanks,

Adam

Snapshot support is indeed a must have if you have long living objects. We currently have added snapshot support in the latest code. An Aggregate Root can add the ISnapshotable<TSnapshot> interface to add support to it. You also need to add a ISnapshotStore to the NcqrsEnvironment.

We probably will release it soon. If you already have demand for it now, I can send you a personally backed release now.

May 29, 2010 at 3:54 PM

Thats great to hear!  I'm not in crazy rush so no worries.

I'm interested to see how you end up implementing it.  Is it going to be semi-automatic, or are you just providing the interfaces and domain objects decides when it needs to create a snapshot?