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: honor ignoreUndefined on findAndModify commands #2671

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

emadum
Copy link
Contributor

@emadum emadum commented Dec 9, 2020

Honors the ignoreUndefined option for find-and-modify commands.

Note: this option doesn't seem to have any effect for findOneAndDelete
operations, but support was added because it is listed as a valid option.

NODE-2945

@emadum emadum marked this pull request as ready for review December 9, 2020 15:57
@emadum emadum requested review from nbbeeken and mbroadst December 9, 2020 15:57
Copy link
Member

@mbroadst mbroadst left a comment

Choose a reason for hiding this comment

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

LGTM! Not an issue in master right?

@emadum
Copy link
Contributor Author

emadum commented Dec 9, 2020

LGTM! Not an issue in master right?

Nope it was fixed by #2589, though adding the new test on master as well couldn't hurt.

@emadum emadum merged commit a25b67c into 3.6 Dec 14, 2020
@emadum emadum deleted the NODE-2945/honor-ignore-undefined-on-find-and-modify branch December 14, 2020 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants