Graphql-code-generator: Dart plugin available ?

Created on 25 Feb 2019  路  3Comments  路  Source: dotansimha/graphql-code-generator

Is it yet possible to generate Dart code from this generator ?

I try this: https://github.com/micimize/graphql-to-dart

But I get an error: TypeError: Must provide Source. Received: {}

enhancement plugins

Most helpful comment

[email protected] should now work with 0.18.0

All 3 comments

Hi @fvisticot !
graphql-to-dart package is using the old API of the codegen. You can try to use it with an old version (0.9.2), or contact @micimize in order to update it to the latest API.

@fvisticot I don't believe there are any robust dart generators yet. You can try using mine with the older generator - I should hopefully have time to update it soon

[email protected] should now work with 0.18.0

Was this page helpful?
0 / 5 - 0 ratings