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-3511): deprecate fullResponse and remove associated buggy code paths #2943

Merged
merged 4 commits into from Aug 23, 2021

Conversation

dariakp
Copy link
Contributor

@dariakp dariakp commented Aug 19, 2021

Description

NODE-3511

What changed?
Removing the never properly implemented fullResponse option from the codebase, also marking CommandOptions internal, since they are, in fact, internal use only. Also, removing the ability to externally affect the fullResult option (TS compilation would break if fullResult is passed in as a command option, but nothing is stopping regular js users from setting it and overriding our internal settings - we should confirm with shell that they aren't using it for some niche functionality, but otherwise this should be safe to disable)

@dariakp dariakp added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Aug 19, 2021
@dariakp dariakp changed the title fix: deprecate fullResponse and remove associated buggy code paths fix(NODE-3511): deprecate fullResponse and remove associated buggy code paths Aug 19, 2021
@dariakp dariakp requested a review from nbbeeken August 20, 2021 19:57
src/cmap/connection.ts Show resolved Hide resolved
src/cmap/connection.ts Show resolved Hide resolved
src/operations/command.ts Outdated Show resolved Hide resolved
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 requested a review from emadum August 20, 2021 20:56
@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 Aug 20, 2021
@nbbeeken nbbeeken marked this pull request as ready for review August 20, 2021 20:56
@nbbeeken nbbeeken merged commit dfc39d1 into 4.1 Aug 23, 2021
@nbbeeken nbbeeken deleted the NODE-3511/deprecate-fullResponse-option branch August 23, 2021 14: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
3 participants