Coder Social home page Coder Social logo

graphql-fetch's People

Contributors

sachaarbonel avatar spacedragon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

graphql-fetch's Issues

generator is not working with latest dart version (2.0.0-dev.58.0)

Hi i try to run the generator with `Dart VM version: 2.0.0-dev.58.0 (Wed May 23 20:44:51 2018 +0200) on "macos_x64"``

but it throws me an error. If i try it with an local graphql (json) file i get the following error.

[INFO] BuildDefinition: Reading cached asset graph completed, took 52ms
[INFO] BuildDefinition: Checking for updates since last build completed, took 877ms
[WARNING] BuildDefinition: Invalidating asset graph due to build script update
[INFO] BuildDefinition: Building new asset graph completed, took 473ms
[INFO] BuildDefinition: Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Build: Running build completed, took 5ms
[INFO] Build: Caching finalized dependency graph completed, took 34ms
[INFO] Build: Succeeded after 49ms with 0 outputs

if i try an only graphql resource like https://developer.deutschebahn.com/free1bahnql/graphql i get this error

[INFO] BuildDefinition: Reading cached asset graph completed, took 48ms
[INFO] BuildDefinition: Checking for updates since last build completed, took 818ms
[INFO] Build: Running build completed, took 9ms
[INFO] Build: Caching finalized dependency graph completed, took 47ms
[INFO] Build: Succeeded after 74ms with 0 outputs

in both cases i have no generated code :(

is this a know issue, how can i fix this? thx for you help

Passing authorisation header

I was going through the source code and saw that currently there is no way to pass authorisation header in the post request.

Is there feature planned for future? I can create a PR for this if required

Impossible to import the package

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 ?

Old version of build_barback prevent from using the package

Hi,

I'm getting this error message. Any idea on how to resolve this?

Because every version of flutter_test from sdk depends on analyzer 0.31.2-alpha.2 and build_barback >=0.2.2 <=0.5.0+2 depends on analyzer >=0.27.1 <0.31.0, flutter_test from sdk is incompatible with build_barback >=0.2.2 <=0.5.0+2.
And because every version of graphql_fetch_generator depends on build_barback ^0.4.0+2, flutter_test from sdk is incompatible with graphql_fetch_generator.
So, because sweetnest_app depends on both flutter_test any from sdk and graphql_fetch_generator any, version solving failed.
pub get failed (1)

Regards,

Is this plugin working with dart 2?

I am trying to using this plugin with flutter which uses dart2.

I am getting following error:-

NoSuchMethodError: The getter 'name' was called on null.

On debugging found that this error is thrown in generator.dart file.

    final library = new File((FileBuilder b) {
       _fragments.forEach((f) => f.generate(path, b));
      _operations.forEach((o) => o.generate(path, b));
    });

Running generator script throws error

On running generator script as mentioned in the Readme.md file throws following error:-

'package:mime/src/mime_multipart_transformer.dart': malformed type: line 33 pos 13: cannot resolve class 'StreamTransformerBase' from 'MimeMultipartTransformer'
    extends StreamTransformerBase<List<int>, MimeMultipart> {

Can someone please help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.