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

unable to run example with latest version of graphql-flutter #6

Closed
HBO2 opened this issue May 12, 2019 · 1 comment
Closed

unable to run example with latest version of graphql-flutter #6

HBO2 opened this issue May 12, 2019 · 1 comment

Comments

@HBO2
Copy link

HBO2 commented May 12, 2019

I tried to run the app with the new version 1.5 of Flutter and also the latest version of
graphql-flutter: ^1.0.0+4

and ran into issues.

The main issue is the fact the Client is not used in the new graphql-flutter version. and refactor to

static final HttpLink httpLink = HttpLink(
    uri: 'https://rickandmortyapi.com/graphql',
  );

is not working.

Are you able to update the example with Flutter 1.5

BTW: using the graphql-flutter version 0.9.5 in combination with Flutter 1.5 gives all kind of errors in the console

thx, and already thx for the great example.

@msreekm
Copy link

msreekm commented Jul 14, 2019

upgraded to v2.0 and fixed the errors here-
https://github.com/msreekm/rick-and-morty-info
Also created a PR @excogitatr
#7

@vedartm vedartm closed this as completed Jul 15, 2019
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

3 participants