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
I want to appending events to a stream be an idempotent operation. In a different library, specifically SqlStreamStore, I could assign an Id to an event, ensuring its uniqueness within a stream.
I've noticed that in Marten, you can define an Id for a document but not for an event. How can I achieve similar behavior as described above with Marten?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to appending events to a stream be an idempotent operation. In a different library, specifically SqlStreamStore, I could assign an Id to an event, ensuring its uniqueness within a stream.
I've noticed that in Marten, you can define an Id for a document but not for an event. How can I achieve similar behavior as described above with Marten?
Beta Was this translation helpful? Give feedback.
All reactions