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
Fix: Mongoose types incorrect for when includeResultMetadata: true is set (#14078)
* Added Seperate type for Middlewares that support includeResultMetadata
* Added Return Type as Raw Result when includeResultMetadata is TRUE for all middlewares
* Added Seperate post query type for middlewares that support includeResultMetadata
* Added Seperate post query type for middlewares that support includeResultMetadata, Fixed Lint
* Updated MongooseRawResultQueryMiddleware and removed duplicate and redundant middlewares
* Removed 'findByIdAndRemove' type definations : DEPRECATED, Fixed Linting Errors
* Removed test cases for 'findByIdAndRemove', Added test case for 'findOneAndDeleteRes', 'findByIdAndDeleteRes'
* Updated findOneAndDelete, Added test case for findOneAndUpdate, findOneAndReplace middlewares
0 commit comments