Open molywitman opened 8 years ago
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;