Open empty-jack opened 5 years ago
Just run into the same issue. Now just added a step to replace RootQueryType with Query and RootMutationType with Mutation in the File and all works fine. Would really be nice to be supported.
I created a PR to solve this issue, hopefully it will get approved soon.
Error Example:
If GQL Schema looks like this:
* That's really popular example of schemas.
Then you will see error as shown above cause
description
filed in index.js get values from the hardcoded list:Query,Mutation,Subscription
and doesn't check custom query names.