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
8.9.2
Node.js version
20.10.0
MongoDB server version
6.0.2
Typescript version (if applicable)
5.5.4
Description
In version 8.9.2 of Mongoose, it seems that the error shown in this issue (and this one) is still not resolved.
In the reproduction link the query does not return IParent fields:
Instead, in my project, the last part of the error updates from:
Type 'Binary | null | undefined' is not assignable to type 'Buffer | undefined'.
Type 'null' is not assignable to type 'Buffer | undefined'.
to
Type 'Binary | undefined' is not assignable to type 'Buffer | undefined'.
Type 'Binary' is missing the following properties from type 'Buffer': equals, compare, copy, slice, and 93 more.
Prerequisites
Mongoose version
8.9.2
Node.js version
20.10.0
MongoDB server version
6.0.2
Typescript version (if applicable)
5.5.4
Description
In version 8.9.2 of Mongoose, it seems that the error shown in this issue (and this one) is still not resolved.
In the reproduction link the query does not return IParent fields:
Instead, in my project, the last part of the error updates from:
to
Steps to Reproduce
Reproduction link here.
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: