brick_graphql library

Classes

Graphql
An annotation used to specify how a field is serialized for a GraphqlAdapter. Heavily inspired by JsonKey
GraphqlAdapter<TModel extends Model>
Constructors that convert app models to and from REST
GraphqlModel
GraphqlModelDictionary
Associates app models with their GraphqlAdapter
GraphqlOperation
A cohesive definition for GraphqlQueryOperationTransformer's instance fields.
GraphqlProvider
A Provider fetches raw data and creates Models. An app can have many Providers.
GraphqlQueryOperationTransformer
This class should be subclassed for each model. For example:
GraphqlSerializable
An annotation used to specify a class to generate code for.
RuntimeGraphqlDefinition
Used to define types in GraphqlAdapter#fieldsToGraphqlRuntimeDefinition. The build runner package extracts types and associations that would've been otherwise inaccessible at runtime.

Enums

FieldRename
Values for the automatic field renaming behavior for GraphqlSerializable.