Closed danez closed 3 years ago
Thanks for reporting. Fixed in master. Please check a new package version which should be published in a couple of minutes.
Thanks for the quick response
@danez Hello. Could you help me. What version of @types/mongoose
are you using?
I'm getting errors for all version of @types/mongoose@(5.11|5.10|5.7|etc...)
class Query<T>
get only 1 argument I can't upgrade graphql-compose-mongoose@9.0.1
because 9.1.x has incompatible typings with @types/mongoose
.
@yurtaev mongoose from some v5 version has its ows typedefs.
Try to update mongoose and remove @types/mongoose.
@nodkz 🤦 yep, you're right. Thanks.
The new typescript types of
mongoose
in 5.11 are not compatible with the latest version ofgraphql-compose-mongoose
.when updating
mongoose
and removing@types/mongoose
in this project the following errors appear:Same happens when I try to use mongoose and graphql-composer-mongoose in my projects.