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
7.4.3
20.0.0
6.0.6
5.1.6
I have the following piece of code that works fine when I am using the following option rawResult: true.
rawResult: true
But the same code gives me a missing typing error on Line#26 when I'm replacing rawResult: true with includeResultMetadata: true.
includeResultMetadata: true
Write any findOneAndUpdate query and in the options replace rawResult with includeResultMetadata. You will get the typings error.
findOneAndUpdate
rawResult
includeResultMetadata
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Prerequisites
Mongoose version
7.4.3
Node.js version
20.0.0
MongoDB server version
6.0.6
Typescript version (if applicable)
5.1.6
Description
I have the following piece of code that works fine when I am using the following option
rawResult: true
.But the same code gives me a missing typing error on Line#26 when I'm replacing
rawResult: true
withincludeResultMetadata: true
.Steps to Reproduce
Write any
findOneAndUpdate
query and in the options replacerawResult
withincludeResultMetadata
. You will get the typings error.Expected Behavior
No response
The text was updated successfully, but these errors were encountered: