Skip to content

refactor(NODE-6335): remove recursion from transaction APIs #4198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Aug 16, 2024

Description

What is changing?

  • expirementing with simpilifying Txn logic
Is there new documentation needed for these changes?

What is the motivation for this change?

CSOT requires errors to be handled differently and the recursion and nesting of the existing implementation, which is mainly callback inspired, was difficult to adapt.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken changed the title refactor(NODE-XXXX): remove recursion from transaction APIs refactor(NODE-6335): remove recursion from transaction APIs Aug 16, 2024
@nbbeeken nbbeeken marked this pull request as ready for review August 19, 2024 15:19
@nbbeeken nbbeeken requested a review from W-A-James August 19, 2024 15:19
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Aug 19, 2024
@W-A-James W-A-James added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Aug 19, 2024
Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm so happy endTransaction is now gone. :)

@W-A-James W-A-James merged commit 1ce2f0d into main Aug 20, 2024
28 of 30 checks passed
@W-A-James W-A-James deleted the txn-cleanup branch August 20, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants