nhost / nhost-dart

Nhost Dart & Flutter packages
https://nhost.io
MIT License
91 stars 33 forks source link

nhost_dart 2.0 and nhost_graphql_adapter 4.0 are not compatible #127

Closed marcusrohden closed 10 months ago

marcusrohden commented 11 months ago

hey guys, I tried to update both dependencies to the latest version and I got the following error:

Because bsapp depends on nhost_dart ^2.0.0 which depends on nhost_graphql_adapter ^3.0.1, nhost_graphql_adapter ^3.0.1 is required.
So, because bsapp depends on nhost_graphql_adapter ^4.0.0, version solving failed.

Edit: Using Dart SDK 3.2.3 and Flutter 3.16.3

spakanati commented 10 months ago

I'm also having trouble with dependencies, e.g.:

Because nhost_dart >=2.0.0 depends on nhost_storage_dart ^1.1.0 which requires SDK version >=2.14.9 <=3.1.5, nhost_dart >=2.0.0 is forbidden.

Would be great if you could merge https://github.com/nhost/nhost-dart/pull/128/files from @totzk9 ASAP since the current nhost_dart package can't be used properly without adding every package in the dependency_overrides.

dbarrosop commented 10 months ago

Fixed on #128

Thanks for reporting! And thanks to the contributor for the PR!