Skip to content

refactor(NODE-5360): refactor CommandOperation to use async #3749

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 15 commits into from
Jul 7, 2023
Merged

Conversation

malikj2000
Copy link
Contributor

@malikj2000 malikj2000 commented Jun 30, 2023

Description

refactored CommandOperation class to use async
modified all calls to CommandOperation to call CommandCallbackOperation instead

What is changing?

new class CommandCallbackOperation
operations now subclass CommandCallbackOperation
new tests

Is there new documentation needed for these changes?

What is the motivation for this change?

refactoring operations layer to use async/await

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 self-requested a review June 30, 2023 17:48
@nbbeeken nbbeeken self-assigned this Jun 30, 2023
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Jun 30, 2023
@malikj2000 malikj2000 requested a review from nbbeeken July 5, 2023 20:44
@malikj2000 malikj2000 requested a review from nbbeeken July 6, 2023 14:52
@malikj2000 malikj2000 requested a review from nbbeeken July 6, 2023 19:22
nbbeeken
nbbeeken previously approved these changes Jul 6, 2023
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

LGTM!

@nbbeeken nbbeeken added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Jul 6, 2023
@nbbeeken nbbeeken merged commit 77a2709 into main Jul 7, 2023
@nbbeeken nbbeeken deleted the NODE-5360 branch July 7, 2023 19:04
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.

2 participants