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
Schema options for populated documents are ignored when calling toJSON. Instead options for the document which calls toJSON are used. See the following test fails for the detail.
Schema options for populated documents are ignored when calling toJSON. Instead options for the document which calls toJSON are used. See the following test fails for the detail.
https://gist.github.com/nkzawa/5148103
I found that the cause is utils.clone uses a same options value for each mongoose objects.
This behavior is not intuitive.
The text was updated successfully, but these errors were encountered: