Skip to content

refactor(NODE-5809): remove executeOperation callback overload and maybeCallback #3959

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
Jan 9, 2024

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Jan 8, 2024

Description

What is changing?

  • Move .then/.catch chain into callers
  • Remove maybeCallback
  • Improve docs over executeOperation
Is there new documentation needed for these changes?

No.

What is the motivation for this change?

This change is effectively a no-op, but it removes the overloads advertized by executeOperation that are no longer used making future changes to executeOperation easier to make.

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 marked this pull request as ready for review January 8, 2024 20:23
@W-A-James W-A-James self-assigned this Jan 9, 2024
@W-A-James W-A-James added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Jan 9, 2024
@W-A-James
Copy link
Contributor

Failing tests are known to be flaky or unrelated

@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 Jan 9, 2024
@W-A-James W-A-James merged commit 8504d91 into main Jan 9, 2024
@W-A-James W-A-James deleted the NODE-5809-rm-callbacks-final-v2-really-final branch January 9, 2024 22:11
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.

4 participants