You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Aggregate changed: How to handle snapshot store #910
EventFlow has the concept of event upgraders when a new version of an event looks different. Is there also a concept with regards to the snapshot store?
If a new version of an event needs to be implemented the aggregate may also change. I am using the EF Core snapshot store implementation. Do I have to delete the snapshot store in this case? How can I repopulate the snapshot store?
Is there an existing concept / solution for this kind of issue?
Activity
rasmus commentedon Nov 12, 2021
Hi @trancefreak77 you can implement a
ISnapshotUpgraderto upgrade your snapshotshttps://github.com/eventflow/EventFlow/blob/develop-v1/Source/EventFlow/Snapshots/ISnapshotUpgrader.cs
trancefreak77 commentedon Nov 12, 2021
Hi Rasmus, thanks very much, thats exactly what I was looking for.