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
Do you want to request a feature or report a bug? bug What is the current behavior?
Schema composition does not work If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior? doc.view.url to be defined What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node 12.13.0 (NOT the browser environment)
Mongoose: 5.10.1
MongoDB: 4.2.8
The text was updated successfully, but these errors were encountered:
The issue here is that view from the 2nd schema definition overrides the view from the first schema definition. We'll see if we can add an option to merge these instead.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Schema composition does not work
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
doc.view.url
to be definedWhat are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node 12.13.0 (NOT the browser environment)
Mongoose: 5.10.1
MongoDB: 4.2.8
The text was updated successfully, but these errors were encountered: