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

Replace graphql dependency with gql_link #59

Open
ninogjoni opened this issue Feb 10, 2022 · 3 comments
Open

Replace graphql dependency with gql_link #59

ninogjoni opened this issue Feb 10, 2022 · 3 comments

Comments

@ninogjoni
Copy link

It is just an idea, but can the dependency be changed from graphql to gql_link? Is it even possible?
The maintainer of ferry mentioned it in a comment: gql-dart/ferry#296

Any thoughts about the comment?

@knaeckeKami
Copy link

knaeckeKami commented Aug 16, 2022

Hi!

Maintainer of ferry and gql-dart here.

What @ngjoni is asking here is just to swap out the dependency from graphql to gql_link. (https://pub.dev/packages/gql_link )
If you follow the import, you can see that the Link class exported from package graphql is from gql_link, so you are using gql_link anyway.

All graphql clients in Dart that I know of (graphql, ferry, and artemis) use some base packages from the gql-dart ecosystem. So if you just depended on gql_link instead of grapqhl, all graphql clients could use this package without pulling in a whole other graphql client as a dependency.

@chungonion
Copy link

Hi!

Maintainer of ferry and gql-dart here.

What @ngjoni is asking here is just to swap out the dependency from graphql to gql_link. (https://pub.dev/packages/gql_link ) If you follow the import, you can see that the Link class exported from package graphql is from gql_link, so you are using gql_link anyway.

All graphql clients in Dart that I know of (graphql, ferry, and artemis) use some base packages from the gql-dart ecosystem. So if you just depended on gql_link instead of grapqhl, all graphql clients could use this package without pulling in a whole other graphql client as a dependency.

Hi @felangel , thanks for your great work on this library! Just wonder would that be possible as it seems there are some conflicts on resolving with latest ferry and latest graphql_flutter package together... 🧐

Thanks!

@ebsangam
Copy link

ebsangam commented Apr 7, 2023

This can be closed:
#77

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

4 participants