-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aggregate $match Error: Type 'ObjectId' is not assignable to type 'Expression'. #11952
Closed
2 tasks done
Labels
typescript
Types or Types-test related issue / Pull Request
Comments
Found more things that are being broken by the types. All 3 of these here: Errors:
|
This was referenced Jun 20, 2022
I opened #11956, which should fix this. |
IslandRhythms
added
the
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
label
Jun 21, 2022
I am having a similar issue, I am trying |
vkarpov15
added
typescript
Types or Types-test related issue / Pull Request
and removed
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
labels
Jul 26, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Mongoose version
6.4.0
Node.js version
16.14.0
MongoDB server version
5.0.9
Description
update to latest version and get error on aggregate
get Error
Type 'ObjectId' is not assignable to type 'Expression'.
how to solve this?
Steps to Reproduce
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: