Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #15196

Summary

Because arrays implicitly have a default value of [], maps of arrays currently have incorrect change tracking when loaded from the db because map.$* is marked as state default

Examples

@vkarpov15 vkarpov15 added this to the 8.9.7 milestone Feb 4, 2025
@vkarpov15 vkarpov15 merged commit b2a384e into master Feb 4, 2025
71 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15196 branch February 4, 2025 15:49
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.

document.save corrupts complex Map fields of the document (with additionnal $* keys)

3 participants