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
How to prevent duplicate commands from being executed by an aggregate.
Use a router middleware to record the identity of each successfully dispatched command and prevent duplicates. Record the causation_id for each event applied to an aggregate and reject commands that have already be seen (caused an event to be recorded).
The text was updated successfully, but these errors were encountered:
How to prevent duplicate commands from being executed by an aggregate.
Use a router middleware to record the identity of each successfully dispatched command and prevent duplicates. Record the
causation_id
for each event applied to an aggregate and reject commands that have already be seen (caused an event to be recorded).The text was updated successfully, but these errors were encountered: