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
BREAKING entity-store: fetchRecord now returns a version of -1 instead of undefined when the entity stream in question has no messages. Returning -1 (stream not initialized) is beneficial for handlers that support both initializing a new entity stream and appending to an existing entity stream. Such handlers can simply forward version as the expectedVersion for subsequent writes and rest assured that concurrency controls will be enforced for both initial stream writes and existing stream writes.
Commits
(e46f3df) entity-store: fetchRecord returns version -1 when stream is empty