Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphql dependency is out of date #37

Open
sedubois opened this issue Sep 30, 2016 · 2 comments
Open

Graphql dependency is out of date #37

sedubois opened this issue Sep 30, 2016 · 2 comments

Comments

@sedubois
Copy link

sedubois commented Sep 30, 2016

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?

@sedubois
Copy link
Author

sedubois commented Sep 30, 2016

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.

@sibelius
Copy link

@sedubois could you send a PR to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants