Skip to main content

sling_gql_hooks 1.0.6 copy "sling_gql_hooks: ^1.0.6" to clipboard
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 #

  • FIX(sling_gql): repair pubspec metadata after repository move. (9965e67a)
  • FIX(sling_gql): move repository to helloprimary/sling_gql. (2175b5b9)

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: QueryBuilder as a hook — a selector run in the widget's own QueryScope, returning its value and a QueryState; fetchPolicy, maxAge, debugLabel, scheduler.
  • useSlingMutation: MutationBuilder as a hook — mutate and a MutationState.
  • useSlingSubscription: SubscriptionBuilder as a hook — the event accessor and a SubscriptionState, open while the widget is mounted.
0
likes
160
points
378
downloads

Documentation

API reference

Publisher

verified publisherhelloprimary.care

Weekly Downloads

flutter_hooks adapter for sling_gql: useSlingQuery, useSlingMutation and useSlingSubscription, the QueryBuilder / MutationBuilder / SubscriptionBuilder of a HookWidget.

Homepage
Repository (GitHub)
View/report issues

Topics

#graphql #hooks #flutter-hooks

License

MIT (license)

Dependencies

flutter, flutter_hooks, sling_gql

More

Packages that depend on sling_gql_hooks