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(query): handle deselecting _id when another field has schema-level select: false #12736

Merged
merged 4 commits into from
Nov 30, 2022

Conversation

vkarpov15
Copy link
Collaborator

Fix #12670

Summary

#12670 is a fairly clear bug, thankfully with a quick fix.

Examples

@IslandRhythms
Copy link
Collaborator

LGTM

Copy link
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! 👍

Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

LGTM, is there already a test for mongodb < 5 to check for that error that it still gets triggered?

@vkarpov15 vkarpov15 merged commit f954a71 into master Nov 30, 2022
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-12670 branch November 30, 2022 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants