gql_code_gen 0.1.5 copy "gql_code_gen: ^0.1.5" to clipboard
gql_code_gen: ^0.1.5 copied to clipboard

discontinued

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.dart for generating Dart code from GraphQL AST nodes;
  • package:gql/ast_builder.dart for pre-parsing GraphQL into Dart source files.

Usage #

A simple usage example build.yaml:

targets:
  $default:
    builders:
      ast_builder:

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

Features and bugs #

Please file feature requests and bugs at the issue tracker.

11
likes
25
pub points
9%
popularity

Publisher

verified publishergql-dart.dev

GraphQL code generator and file builder for Dart taking *.graphql files as an input.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

build, code_builder, collection, dart_style, glob, gql, meta, path, pedantic, source_span

More

Packages that depend on gql_code_gen