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
We are currently passing a nullable session context to almost every function in the storage adapter. This adds complexity to the interface functions, and forces the caller to acknowledge internal implementation details.
We should be able to abstract this implementation out from the interface by storing transaction context in the storage adapter struct and creating a new copy of this adapter and setting the new transaction context whenever a transaction is started for use by the caller.
Acceptance Criteria
Storage transaction context is no longer exposed/passed in the storage interface functions
We have verified that this approach works as expected (no mixups between contexts, transaction operations work as expected)
The text was updated successfully, but these errors were encountered:
Description
We are currently passing a nullable session context to almost every function in the storage adapter. This adds complexity to the interface functions, and forces the caller to acknowledge internal implementation details.
We should be able to abstract this implementation out from the interface by storing transaction context in the storage adapter struct and creating a new copy of this adapter and setting the new transaction context whenever a transaction is started for use by the caller.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: