Adding a new field to a Map on nested subdocument fails with updateOne #10720
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?
bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
nodejs = 14.15.1
mongoose = 6.0.5
mongodb (node driver) = 4.1.1
mongodb (database version) = 4.4.8
The text was updated successfully, but these errors were encountered: