I was using this library for a long time with no problems. I used to call this command
gql-gen --url http://endpoint/graphql/ --template typescript --out ./assets/js/Typings/GraphQL.d.ts
when --url option existed.
Now after upgrade I call similar command but receive unspecified error
$ DEBUG=true gql-gen --schema http://endpoint/graphql/ --template typescript --out ./assets/js/Typings/GraphQL.d.ts
11:03:33.034 - info: [executeWithOptions] using template: typescript
11:03:33.038 - error:
error Command failed with exit code 1.
What might be wrong? Is it because I use graphql 14.0.0?
Hi @simPod
Which version do you use and could you check if it's the same issue as in #573?
@kamilkisiela yes it seems that it's the same, thanks!
Now I'm getting different error, something about Introspection result missing directive locations but I guess I'll solve it when there's a message now :)
Best!
@simPod this issue with the location is because of GraphQL 14, it was fixed and I'll release a version with a fix for it very soon :)
Kk, subscribing for new releases now. Great lib thanks!
On Thu, Sep 13, 2018, 11:26 Dotan Simha notifications@github.com wrote:
@simPod https://github.com/simPod this issue with the location is
because of GraphQL 14, it was fixed and I'll release a version with a fix
for it very soon :)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotansimha/graphql-code-generator/issues/595#issuecomment-420943053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUAJXMt9qGo5vFKK-4NTvTsrTBBVEiqks5uaiTDgaJpZM4Wm28O
.
@dotansimha Have you ever got to releasing a fix for GraphQL 14? I've just upgraded to latest 0.14.4 and the error @simPod mention is popping up for me as well.
Most helpful comment
@simPod this issue with the location is because of GraphQL 14, it was fixed and I'll release a version with a fix for it very soon :)