Skip to main content

graphql_gen_generator 0.1.1 copy "graphql_gen_generator: ^0.1.1" to clipboard
graphql_gen_generator: ^0.1.1 copied to clipboard

build_runner generator for graphql_gen: generates GraphQL field enums for classes annotated with @GenerateEnumFields.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add graphql_gen_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  graphql_gen_generator: ^0.1.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:graphql_gen_generator/builder.dart';
import 'package:graphql_gen_generator/cli.dart';
1
likes
0
points
1.12k
downloads

Publisher

unverified uploader

Weekly Downloads

build_runner generator for graphql_gen: generates GraphQL field enums for classes annotated with @GenerateEnumFields.

Repository (GitHub)
View/report issues

Topics

#graphql #codegen #build-runner #freezed

License

unknown (license)

Dependencies

analyzer, args, build, gql, graphql_gen, http, path, source_gen, yaml

More

Packages that depend on graphql_gen_generator