Skip to content
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

fix(NODE-6367): enable mixed use of iteration APIs #4231

Merged
merged 15 commits into from
Sep 12, 2024
Merged

fix(NODE-6367): enable mixed use of iteration APIs #4231

merged 15 commits into from
Sep 12, 2024

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Sep 11, 2024

Description

What is changing?

Is there new documentation needed for these changes?

No

What is the motivation for this change?

Fixing mixed use of cursor.next and for await (const doc of cursor).

Release Highlight

Restore mixed use of cursor.next() and cursor[Symbol.asyncIterator]

In 6.8.0, we inadvertently prevented the use of cursor.next() along with using for await syntax to iterate cursors. This use-case has now been restored.

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

@W-A-James W-A-James marked this pull request as ready for review September 11, 2024 02:07
@nbbeeken nbbeeken self-assigned this Sep 11, 2024
@nbbeeken nbbeeken self-requested a review September 11, 2024 14:49
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants