Using array of array notation for sort triggers an error when followed by .toConstructor() #8159
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Query.prototype.sort()
accepts array of arrays. When I add .toConstructor() it crashes sayingNodeJS: v12.6.0
Mongoose: 5.7.0
MongoDB: irrelevant
The text was updated successfully, but these errors were encountered: