A package for Dart code generation from GraphQL source.
package:gql/dart.dartfor generating Dart code from GraphQL AST nodes;
package:gql/ast_builder.dartfor pre-parsing GraphQL into Dart source files.
A simple usage example
targets: $default: builders: ast_builder:
The generated source depends on
package:gql/ast.dart so you'll need to add it to your
dependencies: gql: ^0.10.0
Features and bugs
Please file feature requests and bugs at the issue tracker.