Useful builders for your GraphQL SDL and documents. Based on package:gql_code_builder and package:build
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 #
Provided builders #
Generates an AST representation of a GraphQL Document
Generates a typed view of your data.
Creates data classes for any GraphQL variables used in a query or fragment.
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.
Generates a container for a scalar value to be used when viewing the response data and building request variables.
built_value serializers for each
Features and bugs #
Please file feature requests and bugs at the issue tracker.