Skip to content

Conversation

@the-avid-engineer
Copy link
Member

No description provided.

instead, add a method to get the most recent snapshot, distinguish from method that returns current state
bring your own queries
if there's no snapshot, we want it to return null, not the newly constructed entity
1. remove PreviousSnapshot from ITransactionCommand
2. test mode passes an object that controls disposal; we need this because we will be separating recording snapshots from pulling them, and end up with two different instances of ISnapshotRepository; it should not remove the entries created until all instances have been disposed
ask for the required dependencies explicitly
in test mode, will run synchronously
store transaction snapshots asynchronously, don't block or allow a failure to cause problems :)
@the-avid-engineer the-avid-engineer merged commit 324865f into main Oct 6, 2021
@the-avid-engineer the-avid-engineer deleted the refactor branch October 6, 2021 17:18
@the-avid-engineer the-avid-engineer added diff:add Code has been added diff:refactor:break Code has been refactored in a way that will cause compiler errors and does not fix a bug labels Jun 25, 2022
@the-avid-engineer the-avid-engineer self-assigned this Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diff:add Code has been added diff:refactor:break Code has been refactored in a way that will cause compiler errors and does not fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants