graphql-fetch icon indicating copy to clipboard operation
graphql-fetch copied to clipboard

Impossible to import the package

Open sachaarbonel opened this issue 6 years ago • 2 comments

Hi, thank you for your great work the code looks great, unfortunately I'm unable to import the library ... Error log : "Package build_barback has no versions that match >=0.4.0+2 <0.5.0 derived from:

  • graphql_fetch_generator 0.0.1 depends on version ^0.4.0+2 pub get failed (1)"

To reproduce: "dev_dependencies: flutter_test: sdk: flutter graphql_fetch_generator: any"

I tried with version 0.0.3 too but it doesn't work :( any idea how can I make it work ?

sachaarbonel avatar Mar 07 '18 22:03 sachaarbonel

@Sach97 can try commenting out

flutter_test:
      sdk: flutter

and try once. It should work.

I am working on fixing the issues I am facing with this library. Have fixed few issues and created a PR. Will fix this soon

salujaharkirat avatar Jun 14 '18 20:06 salujaharkirat

Okay thank's for the hint! I'm new to graphql and flutter. You should check the work of @zshema on metaflowltd/graphql-fetch btw.

sachaarbonel avatar Jun 15 '18 07:06 sachaarbonel