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
First of all, I want to say that this is an awesome example that I have seen in the area of CQRS with AKKA.NET.
In lines 64 to 67 in the ReceiveRecover method, I see that ReceiveRecover can get an event other than the SnapshotOffer and it will update the state. I don't see a case that can happen other than it receives an event like RecoveryCompleted which should not update the state.
Could you please clarify when it is necessary to update the state in a ReceiveRecover method?
The text was updated successfully, but these errors were encountered:
IEvent is custom marker interface defined for purpose of the project here. Each domain event used in this sample implements it. This sets a barrier on programmer preventing from accidentally trying to update the state of an aggregate from objects other than domain events.
First of all, I want to say that this is an awesome example that I have seen in the area of CQRS with AKKA.NET.
In lines 64 to 67 in the ReceiveRecover method, I see that ReceiveRecover can get an event other than the SnapshotOffer and it will update the state. I don't see a case that can happen other than it receives an event like RecoveryCompleted which should not update the state.
Could you please clarify when it is necessary to update the state in a ReceiveRecover method?
The text was updated successfully, but these errors were encountered: