graphqlhub
graphqlhub copied to clipboard
Graphql dependency is out of date
Hi! I've been trying to experiment with a public GraphQL API to learn Relay. I cloned the relay-101 tutorial, and could run it fine, thanks 😊 But obviously I now wish to update the out-of-date dependencies, including graphql to 0.7.1. However I get a babel-relay-plugin error Invalid introspection data supplied to getBabelRelayPlugin(). The resulting schema is not an object with a __schema property.
If I console.log the response within babelRelayPlugin.js
, I see the response is Cannot query field \"locations\" on type \"__Directive
.
Is that because graphqlhub still runs an old graphql version (0.4.17)? Is there a workaround? Is this GraphQLHub still maintained? Have you got plans to update it soon?
It's because of this graphql PR which was merged in 0.5.0 (published 2016-04-08), breaks the API. So basically graphqlhub is not compatible with any graphql client version 0.5.0 onwards.
@sedubois could you send a PR to fix this?