You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected behavior? foo is stored in db . It should not and myModel.foo should not appears in the result of the console.log.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node v16.10.0
Mongoose v5.13.9 or v6.1.7
MongoDB v4.4.7
The text was updated successfully, but these errors were encountered:
Aloune92
changed the title
Empty nested schemas are not minimized after set the nested schema
Empty nested schemas are not minimized if empty
Jan 19, 2022
Aloune92
changed the title
Empty nested schemas are not minimized if empty
Empty nested schemas are not minimized
Jan 19, 2022
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Empty nested schemas are not minimized.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
foo
is stored in db . It should not andmyModel.foo
should not appears in the result of theconsole.log
.What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node v16.10.0
Mongoose v5.13.9 or v6.1.7
MongoDB v4.4.7
The text was updated successfully, but these errors were encountered: