grapher_builder 0.2.4 copy "grapher_builder: ^0.2.4" to clipboard
grapher_builder: ^0.2.4 copied to clipboard

GraphQL code generation based on dart code models. Supports all GraphQL types including queries, mutations, subscriptions, inputs, and enums.

Grapher #

Grapher is a helper for generating client-side GraphQL from models written in Dart!

Usage #

See example project

Also see doc of annotation project

Add dependencies:

dependencies:
    grapher_annotation: ^0.2.0

dev_dependencies:
    grapher_builder: ^0.2.0

Create or modify build.yaml (optional for validation with schema)

targets:
  $default:
    builders:
      grapher_builder:
        options:
          schemaFolder: "./schema" # Path with graphQL files
          allowEnumValueAsStringInput: true # Allow replacing an enum value in input with a string
2
likes
0
points
274
downloads

Publisher

unverified uploader

Weekly Downloads

GraphQL code generation based on dart code models. Supports all GraphQL types including queries, mutations, subscriptions, inputs, and enums.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, collection, flutter, gql, grapher_annotation, source_gen

More

Packages that depend on grapher_builder