brick_graphql 1.1.2 brick_graphql: ^1.1.2 copied to clipboard
GraphQL connector for Brick, a data persistence library. Includes annotations, adapter, model, and provider.
Unreleased #
1.1.2 #
- Override
subfields
generation by supplying the necessary subfields with@Graphql
1.1.1 #
- Loosen
gql
,gql_exec
, andgql_link
restriction
1.1.0 #
- If a document is declared without subfields, do not overwrite this definition with subfields from the model.
- Add
variablesNamespace
to wrap all variables from all requests. Variables passed fromproviderArgs
will not be wrapped within the namespace.
1.0.3 #
- Return
null
if no GraphQL document can be inferred inModelFieldsDocumentTransformer
instead of throwing anArgumentError
. This mirrors behavior inbrick_rest
.
1.0.2 #
- Add
subfields
toRuntimeGraphqlDefinition
; supportsubfields
inModelFieldsDocumentTransformer
- When a field's type declares a
toJson
method that returns a map, subfields will be automatically populated on fetch requests based on thefinal
instance fields of that field's type.
1.0.1 #
- Loosen dependency restrictions to major versions
- Expose
RuntimeGraphqlDefinition
1.0.0 #
- Stable release
0.0.1+4 #
- Supply
context
as<String, ContextEntry>
instead of type do to a limitation in JSON serialization
0.0.1+3 #
- Support supplying
context
inQuery#providerArgs
0.0.1+2 #
- Rename
fieldsToRuntimeDefinition
tofieldsToGraphqlRuntimeDefinition
0.0.1+1 #
- Return
List<_Model>
when invokingsubscribe
0.0.1 #
Alpha release