sling_gql_hooks 1.0.6
sling_gql_hooks: ^1.0.6 copied to clipboard
flutter_hooks adapter for sling_gql: useSlingQuery, useSlingMutation and useSlingSubscription, the QueryBuilder / MutationBuilder / SubscriptionBuilder of a HookWidget.
1.0.6 #
1.0.5 #
- Update a dependency to the latest release.
1.0.4 #
- Update a dependency to the latest release.
1.0.3 #
- Update a dependency to the latest release.
1.0.2 #
- Update a dependency to the latest release.
1.0.1 #
- Update a dependency to the latest release.
1.0.0 #
Note: This release has breaking changes.
-
First stable release. Upgrading from 0.x: see Upgrading to 1.0.
-
FEAT(sling_gql_hooks): offline on useSlingMutation's mutate, MutationState.isQueued. (2854272f)
-
FEAT(sling_gql_hooks): errorPolicy and timeout on useSlingQuery; errorPolicy, timeout and retry on mutate. (2b82b904)
-
DOCS(repo): Versioning sections in the adapter, test and generator READMEs (#73). (a3574704)
-
BREAKING REFACTOR(sling_gql_test): rename GraphQLError to MockGraphQLError (#73). (b144a1d8)
-
BREAKING REFACTOR(sling_gql): settle the 1.0 public surface (#73). (0f1e6992)
0.1.0+1 #
- Update a dependency to the latest release.
0.1.0 #
Initial release.
useSlingQuery:QueryBuilderas a hook — a selector run in the widget's ownQueryScope, returning its value and aQueryState;fetchPolicy,maxAge,debugLabel,scheduler.useSlingMutation:MutationBuilderas a hook —mutateand aMutationState.useSlingSubscription:SubscriptionBuilderas a hook — the event accessor and aSubscriptionState, open while the widget is mounted.