@vkarpov15 skipMiddlewareFunction
only works for Query
not QueryCursor
, here is an example
#13411
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
The reason is in
lib/cursor/QueryCursor.js
, it called like thisOriginally posted by @junmiu in #11927 (comment)
The text was updated successfully, but these errors were encountered: