graphql library
Classes
- Graphql
- An annotation used to specify how a field is serialized for a GraphqlAdapter. Heavily inspired by JsonKey
-
GraphqlAdapter<
_Model 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 createsModel
s. An app can have manyProvider
s. - 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.