GraphQLError: Type Query must define one or more fields. using typegoose
GraphQLError: Type Query must define one or more fields. using typegoose mongoose
mongoose
I guess it's nothing to do with Typegoose. Have you defined any Graphql type or queries? If you added GraphQLModule to your app's module, you need to have a proper .graphql file which should has at least a Query type.