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

set merges deeply nested objects #14870

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

ianHeydoc
Copy link
Contributor

Summary
solves the issue of deeply nested documents not merging when merge option is set

Examples

Example is in the test

@vkarpov15 vkarpov15 added this to the 8.6.2 milestone Sep 9, 2024
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 merged commit d533e9f into Automattic:master Sep 9, 2024
23 of 24 checks passed
@ianHeydoc
Copy link
Contributor Author

Thanks!
Will this fix also work on versions 6 and 7 of mongoose?
Or should I write PRs for those branches as well

@vkarpov15
Copy link
Collaborator

@ianHeydoc I put in PR #14878 to backport this to 6.x, that will also end up in 7.x.

vkarpov15 added a commit that referenced this pull request Sep 11, 2024
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.

2 participants