-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Prerequisites
- I have written a descriptive issue title
- 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.
Steps to Reproduce
Reproduction link here.
Expected Behavior
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels