Populate does not work when sanitizeFilter
is true
#10740
Labels
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
Populate does not work when
sanitizeFilter
is true.If the current behavior is a bug, please provide the steps to reproduce.
Error:
What is the expected behavior?
No error when populating.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node.js: v14.17.3
Mongoose: v6.0.6
MongoDB: v5.0.2
The text was updated successfully, but these errors were encountered: