Mongoose model converter to GraphQL types with resolvers for graphql-compose https://github.com/nodkz/graphql-compose
708
stars
94
forks
source link
How to reference a generated graphql type from custom graphql schema #295
Open
keeganstothert opened 3 years ago
in my custom schema I want to return a type
User
that is generated by graphql-compose-mongoose from my User mongoose model.i've tried ordering these differently but the problem persists
schemaComposer.addTypeDefs(UserGraph);
this is my custom graphql schema that causes the error
i get the error
Type with name "User" does not exists