Persisted
struct
#181
Replies: 1 comment
-
As for As for the type definition:
|
Beta Was this translation helpful? Give feedback.
Persisted
struct
#181
-
As for As for the type definition:
|
Beta Was this translation helpful? Give feedback.
-
sorry, just a couple of small questions about the
Persisted
struct.what's the different between the 'version' and the 'sequence number'? what are these each used for?
Also, I was looking at the
inmemory::EventStore
and how you would implement #49 on it.I think if you change the 'backend' from
to
then the
RangeBounds
method are supported pretty naturally. (you would need to implementOrd
forPersisted
, or useBTreeMap
instead).It's slightly irksome that the
Id
appears twice in this type signature. Is it possible to move theId
out of thePersisted
struct? so that you haveBeta Was this translation helpful? Give feedback.
All reactions