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

Handle hydrating deeply nested populated docs with hydratedPopulatedDocs #15130

Merged
merged 4 commits into from
Dec 30, 2024

Conversation

vkarpov15
Copy link
Collaborator

Summary

Right now hydratedPopulatedDocs only goes one level deep, with both virtuals and conventional populate. This PR makes hydratedPopulatedDocs recursive.

Examples

@vkarpov15 vkarpov15 added this to the 8.9.3 milestone Dec 26, 2024
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, though seeing the amount of changes done, i would recommend to put this in the next minor version.

Also some slight style changes to make it more dense & consistent across the 2 tests.

@vkarpov15 vkarpov15 modified the milestones: 8.9.3, 8.10 Dec 30, 2024
@vkarpov15 vkarpov15 changed the base branch from master to 8.10 December 30, 2024 20:12
@vkarpov15
Copy link
Collaborator Author

Merging into 8.10, thanks for the feedback @hasezoey 👍

@vkarpov15 vkarpov15 merged commit a8fc5cd into 8.10 Dec 30, 2024
74 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15110 branch December 31, 2024 11:33
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