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
This problem is no longer there after commenting out the pre-hook in Schema.prototype.virtual declaration in schemas.js
Even after replacing the hook with an empty one:
this.pre('init',function(next,obj){next();});
the issue is still there.
All is fine if this is commented out.
mongoose: 4.6.6
mongodb: 2.2.11
node: 4.5
Just enabling/disabling the virtual populate field results in array subdocuments showing as
null
in query resultsresults in
the
list
property is null. If you comment out the virtual property declaration then list contains expected data, which is:The text was updated successfully, but these errors were encountered: