We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
8.9.3
22.10.5
6.12.0
5.7.2
When using lean query with a generic type of FooBar or object a typescript error gets thrown similar to this error: #15122
FooBar
object
My last working version was ^8.7.0.
Reproduction Link: https://stackblitz.com/edit/vitejs-vite-tstcb3k5?file=src%2Findex.ts
No response
The text was updated successfully, but these errors were encountered:
15a6595
Merge pull request #15160 from Automattic/vkarpov15/gh-15158
e56b046
types: avoid BufferToBinary<> wiping lean types when passed to generic functions
Successfully merging a pull request may close this issue.
Prerequisites
Mongoose version
8.9.3
Node.js version
22.10.5
MongoDB server version
6.12.0
Typescript version (if applicable)
5.7.2
Description
When using lean query with a generic type of
FooBar
orobject
a typescript error gets thrown similar to this error: #15122My last working version was ^8.7.0.
Steps to Reproduce
Reproduction Link: https://stackblitz.com/edit/vitejs-vite-tstcb3k5?file=src%2Findex.ts
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: