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(collection): Add ignoreUndefined option in beginning with findOneAnd* methods. #2147

Merged
merged 3 commits into from
Oct 18, 2019

Conversation

changmyeong
Copy link

@changmyeong changmyeong commented Sep 18, 2019

Add ignoreUndefined option in beginning with findOneAnd* methods.
NODE-2169

@changmyeong changmyeong changed the title fix(collection): Add ignore undefined in findOneAnd... methods fix(collection): Add ignoreUndefined option in operation methods Oct 8, 2019
@changmyeong
Copy link
Author

@daprahamian Please feedback here.

Copy link
Contributor

@daprahamian daprahamian left a comment

Choose a reason for hiding this comment

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

Hi @changmyeong,

I prefer the original version. executeOperation is used by a lot more than the crud operations, so adding something in there is not really ideal.

- Dan

@changmyeong
Copy link
Author

@daprahamian Thanks to feedback :) i reverted commit.

@changmyeong changmyeong changed the title fix(collection): Add ignoreUndefined option in operation methods fix(collection): Add ignoreUndefined option in beginning with findOne* methods. Oct 9, 2019
@changmyeong changmyeong changed the title fix(collection): Add ignoreUndefined option in beginning with findOne* methods. fix(collection): Add ignoreUndefined option in beginning with findOneAnd* methods. Oct 9, 2019
Copy link
Contributor

@daprahamian daprahamian left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@changmyeong
Copy link
Author

@daprahamian @mbroadst
3.3.3 has been released, but this PR has not been merged.

@daprahamian daprahamian merged commit 871c548 into mongodb:next Oct 18, 2019
@daprahamian
Copy link
Contributor

@changmyeong sorry about that! It is merged into master now, and should be included in the next release. Thank you for the contribution!

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