zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.25k stars 622 forks source link

Support latest version of http package #1418

Closed gd46 closed 1 day ago

gd46 commented 8 months ago

Trying to install latest version of http throws a package dependency issue saying it requires

http ^0.13.0

And the latest version of http is 1.2.1.

https://pub.dev/packages/http/changelog

Should support moving to the latest version of http package.

To Reproduce (MUST BE PROVIDED)

  1. When I use graphql: 5.1.3 graphql_flutter: 5.1.2
  2. try to upgrade http package dependency to latest 1.2.1
  3. I get a dependency issue saying graphql requires ^0.13.0.

Expected behavior I would like to be able to support the latest version of http package with the latest versions of graphql packages.

device / execution context Issue is building iOS, or Android, I haven't tried Web

vincenzopalazzo commented 5 months ago

Are you able or do you like to open a PR for this?

a1rwulf commented 1 day ago

I believe this is fixed in: https://github.com/zino-hofmann/graphql-flutter/commit/396c3b3f6986b6d3174e548982a93188b49ee5bc

vincenzopalazzo commented 1 day ago

Correct, thanks!

Closing this for now