[Proposal] Add support for entity persistence & snapshots #1408
laertispappas
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone and thank you for yourk work with RES.
I would like to raise a question and add a small proposal on the data layer which I think it would add some improvements.
I'm facing issues to understand the role of
streams
in the modeling and why each event emitted should go to a specific stream. I find it more confusing when I have to also specify the stream for each entity (Order$ID
).What I also I think it would make sense is to revisit the persistence layer a bit and add something similar to:
I think the above will add a couple of advantages to the modeling because of the following:
The entities table is mostly used for optimistick locking. Last but not least it would be great to add support for snapshots. Any feedback much appreciated. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions