Nested array references losing population after a new version is assigned #9293
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
A populated object in a nested array is losing its population after I try to assign a new version to it
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
It's expected for the nested array objects to keep its populated fields
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node.js - 12.13.0
Mongoose - 5.9.26
Mongo - 3.6.18
The text was updated successfully, but these errors were encountered: