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
to fix changed --
schema.method('getDescendants', function () {
var query = new Query(arguments);
var promise = new mongoose.Promise;
if (query.callback)
promise.addBack(query.callback);
var self = this;
Tried to reproduce this in a test with mongodb 3.2 without success. Although attempting to upgrade mongoose-materialized's mongoose library to the latest version caused most of the tests to fail. The above mentioned fix can be found in this fork. If there is more interest in this issue I can try to provide a reproducible sample.
Hi,
moving to mongoDB 3.2.9 got problem with limit
https://github.com/florianholzapfel/express-restify-mongoose/issues/
to fix changed --
schema.method('getDescendants', function () {
var query = new Query(arguments);
var promise = new mongoose.Promise;
if (query.callback)
promise.addBack(query.callback);
var self = this;
The text was updated successfully, but these errors were encountered: