Skip to content

Conversation

@nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Sep 2, 2022

Description

What is changing?

Added:

  • ClientSession
  • GridFSBucketWriteStream
  • GridFSBucketReadStream (not needed, but symmetry)
  • OrderedBulkOperation
  • UnorderedBulkOperation

What is the motivation for this change?

This is not a feature for users, but we need these exports at the top level to make the legacy wrapper package be able to import without using nested paths.

Open Q:
I want to add a little unit test that checks our exports, is checking just keys fine? and is there any obvious test organization changes you see?

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>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken marked this pull request as ready for review September 6, 2022 16:34
@dariakp dariakp added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 7, 2022
@nbbeeken nbbeeken requested a review from dariakp September 7, 2022 21:01
Copy link
Contributor

@dariakp dariakp left a comment

Choose a reason for hiding this comment

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

just one small thing

@dariakp dariakp added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Sep 7, 2022
@nbbeeken nbbeeken requested a review from dariakp September 7, 2022 21:14
@dariakp dariakp merged commit 972f760 into main Sep 8, 2022
@dariakp dariakp deleted the NODE-4607/exports-for-legacy branch September 8, 2022 15:22
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