Closed gaurav-webbytroops closed 5 months ago
we may release a new version to fix this problem?
I think this patch https://github.com/zino-hofmann/graphql-flutter/pull/1428 fix your problem
@vincenzopalazzo How can we install the graphql_flutter package to our project? The stable version is not being installed because of an error and with this commit how to install the package?
Idk I should google it. But I can make a new beta release also for fixing your problem
@gaurav-webbytroops Just like so:
graphql_flutter:
git:
url: https://github.com/zino-hofmann/graphql-flutter.git
ref: c0621ccad047d3ec94565f92406ebeda394dbd4c
path: packages/graphql_flutter
But I can make a new beta release also for fixing your problem
@vincenzopalazzo That would be awesome!
Although we can depend on the commit from #1428 , it's easier for folks who rely on Renovate/Dependabot for upgrades to stay on official releases, even if it's a beta.
@johnmartel it is coming!
I tried to install the package but it is throwing error with recent flutter SDK version and Connectivity_plus package.
I get Following error in console: `The current Dart SDK version is 3.4.1.
(1) So, because graphql_flutter >=5.2.0-beta.3 <5.2.0-beta.4 depends on connectivity_plus ^3.0.0 and graphql_flutter
(2) So, because graphql_flutter >=5.0.0-nullsafety.1 <5.0.0-nullsafety.2 depends on graphql 5.0.0-nullsafety.1, graphql_flutter >=5.0.0-beta.1 <5.0.0-nullsafety.2 requires graphql >=5.0.0-beta.1 <5.2.0-beta.2.
The lower bound of "sdk: '>=1.19.0 <2.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety
The lower bound of "sdk: '>=2.0.0-dev.52.0 <3.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety
You can try the following suggestion to make the pubspec resolve: