Skip to content

Conversation

@hoan301298
Copy link
Member

Brief description

This PR adds transaction supports for Box module and apply the changes for some classes using transaction methods.
Issue: #742

Change list

  • Drop openedSession: prevents problems. Basically, a function creates a session then it owns the transaction lifecycle.
  • Add try/catch/finally: catches errors when working with MongoDB and return them easily.
  • Apply changes to the use of transaction methods in classes (Box module)
  • Add TransactionCommitError.ts, Transaction.ts.
  • ESLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants