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(populate): fix a couple of other places where we get the document's _id with getters #14833

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14827
Re: #14759

Summary

There are a few spots we missed in #14760 where populate() logic gets doc._id (which applies getters) instead of doc._doc._id (which skips getters)

Examples

…ng schemas to avoid modifying original obj

Fix #14827
@vkarpov15
Copy link
Collaborator Author

I also accidentally pushed the fix for #14821 into this branch, so I will merge those two together

@vkarpov15 vkarpov15 added this to the 8.5.5 milestone Aug 28, 2024
@vkarpov15 vkarpov15 merged commit 05055f0 into master Aug 28, 2024
46 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14827 branch August 28, 2024 14:47
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.

Follow up to "populated documents get saved as strings"
2 participants