gql_code_gen 0.1.5
gql_code_gen: ^0.1.5 copied to clipboard
GraphQL code generator and file builder for Dart taking *.graphql files as an input.
A package for Dart code generation from GraphQL source.
Includes:
package:gql/dart.dartfor generating Dart code from GraphQL AST nodes;package:gql/ast_builder.dartfor pre-parsing GraphQL into Dart source files.
Usage #
A simple usage example build.yaml:
targets:
$default:
builders:
ast_builder:
copied to clipboard
The generated source depends on package:gql/ast.dart so you'll need to add it to your pubspec.yaml
dependencies:
gql: ^0.10.0
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.