gql-dart / gql

Libraries supporting GraphQL in Dart
MIT License
267 stars 121 forks source link

dependencies issue #443

Closed zaqwery closed 7 months ago

zaqwery commented 7 months ago

hi,

I'm trying to resolve this while upgrading uuid to latest 4.3.2 but getting this issue with gql_websocket_link:

Because no versions of nhost_dart match >2.0.1 <3.0.0 and nhost_dart 2.0.1 depends on nhost_graphql_adapter ^4.0.1, nhost_dart ^2.0.1 requires nhost_graphql_adapter ^4.0.1.
And because no versions of nhost_graphql_adapter match >4.0.1 <5.0.0 and nhost_graphql_adapter 4.0.1 depends on nhost_gql_links ^4.0.1, nhost_dart ^2.0.1 requires nhost_gql_links ^4.0.1.
And because no versions of nhost_gql_links match >4.0.1 <5.0.0 and nhost_gql_links 4.0.1 depends on gql_websocket_link ^1.1.0, nhost_dart ^2.0.1 requires gql_websocket_link ^1.1.0.
Because gql_websocket_link 1.1.0 depends on uuid ^3.0.1 and no versions of gql_websocket_link match >1.1.0 <2.0.0, gql_websocket_link ^1.1.0 requires uuid ^3.0.1.
Thus, nhost_dart ^2.0.1 requires uuid ^3.0.1.
So, because 123_app depends on both nhost_dart ^2.0.1 and uuid ^4.3.2, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on uuid: flutter pub add uuid:^3.0.7
exit code 1

thoughts?

thanks!

knaeckeKami commented 7 months ago

that's an issue with nhost, not with this package.