gql_build 0.1.3
gql_build: ^0.1.3
gql_build: ^0.1.4-alpha+1605887736217

Dart native
Flutter Android iOS

Useful builders for your GraphQL SDL and documents. Based on package:gql_code_builder and package:build

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

A package for Dart code generation from GraphQL source.

Builders in this package let you build your GraphQL requests and view the response in a type-safe way.

Usage example #

See the gql_example_cli or gql_example_flutter for usage examples.

Provided builders #

ast_builder #

Generates an AST representation of a GraphQL Document

data_builder #

Generates a typed view of your data.

var_builder #

Creates data classes for any GraphQL variables used in a query or fragment.

enum_builder #

Generates an enum-like class per GraphQL enum type. Defines known enum values to be used in your code, and allows unknown enum values to be used without causing runtime error when handling response data.

scalar_builder #

Generates a container for a scalar value to be used when viewing the response data and building request variables.

schema_builder #

Combines enum_builder, input_builder and scalar_builder.

serializer_builder #

Creates built_value serializers for each built_value class.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

5
likes
90
pub points
72%
popularity

Publisher

gql-dart.dev

Useful builders for your GraphQL SDL and documents. Based on package:gql_code_builder and package:build

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, build, built_collection, built_value, built_value_generator, code_builder, dart_style, glob, gql, gql_code_builder, path, yaml

More

Packages that depend on gql_build