You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Mongoose version
7.4.1
Node.js version
v18.12.1
MongoDB server version
6.x
Typescript version (if applicable)
No response
Description
this link states rawResult is deprecated and rawResult: true should be modified into includeResultMetadata: false, actually should be includeResultMetadata: true.
Steps to Reproduce
try to use includeResultMetadata: false and you won't have access to, for example , lastErrorObject
Expected Behavior
the documentation should say:
rawResult: true
must be changed with
includeResultMetadata: true
The text was updated successfully, but these errors were encountered:
Prerequisites
Mongoose version
7.4.1
Node.js version
v18.12.1
MongoDB server version
6.x
Typescript version (if applicable)
No response
Description
this link states rawResult is deprecated and rawResult: true should be modified into includeResultMetadata: false, actually should be includeResultMetadata: true.
Steps to Reproduce
try to use includeResultMetadata: false and you won't have access to, for example , lastErrorObject
Expected Behavior
the documentation should say:
rawResult: true
must be changed with
includeResultMetadata: true
The text was updated successfully, but these errors were encountered: