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 guess that the expecting_version method should be exposed by the Append command, as it only makes sense there, right? Should we rename the command to Create to make it consistent with other adapters?
The text was updated successfully, but these errors were encountered:
Re expecting_version When you are adding new events to a stream you can specify the version in which you expect the stream to be. Normally, this version is the event number of the last event you've read from the stream. Thus, if between reading and writing someone has added some more events, your write will fail (actually, it could pass if the events that collide had the same uuids).
What about something like this?
I guess that the
expecting_version
method should be exposed by theAppend
command, as it only makes sense there, right? Should we rename the command toCreate
to make it consistent with other adapters?The text was updated successfully, but these errors were encountered: