Incompatible formats of ObjectId (bson vs mongoose), after insertMany (rawResult: true) #11197
Labels
typescript
Types or Types-test related issue / Pull Request
Milestone
Do you want to request a feature or report a bug?
A bug
What is the current behavior?
I am using Nestjs with mongoose (latest version
6.1 5
) and I have a compiler error, when I try to use insertMany withrawResult :true
.And here is the Typescript error I get in this case:
Nestjs/mongoose: 9.0.2
Mongoose 6.1.5
Typescript: 4.5.4
The text was updated successfully, but these errors were encountered: