Skip to content

Conversation

vkarpov15
Copy link
Collaborator

Fix #14680

Summary

Our applyProjection() helper doesn't currently handle projections underneath arrays. This PR should fix that.

Examples

@vkarpov15 vkarpov15 added this to the 8.4.4 milestone Jun 24, 2024
@vkarpov15 vkarpov15 merged commit 516464a into master Jun 25, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14680 branch June 26, 2024 09:00
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.

Model.hydrate() should work with subdocument array projection

2 participants