flutter_graphql_client_plus 1.0.10 copy "flutter_graphql_client_plus: ^1.0.10" to clipboard
flutter_graphql_client_plus: ^1.0.10 copied to clipboard

A lightweight GraphQL client wrapper for Flutter that supports standard GraphQL queries, mutations, subscriptions over ActionCable, token-based authentication with automatic token refresh handling.

1.0.10 #

  • added updateWebSocketUrl function

1.0.9 #

  • Patch work

1.0.8 #

  • Added log for FetchPolicy.noCache

1.0.7 #

  • Added FetchPolicy.noCache

1.0.6 #

  • Patch work

1.0.5 #

  • Patch work

1.0.4 #

  • Patch work

1.0.3 #

Changed #

  • Refactored and structured FlutterGraphqlClient and GraphQLService for better modularity and initialization.
  • Improved logging with emojis for better developer clarity and debugging.

Added #

  • Request cancellation and resumption support using _isCancelled flag in GraphQLService.
  • cancelAllRequests() and resumeRequests() methods to handle request flow programmatically.
  • GraphQLService now allows pausing and resuming request execution with clear logs.

Fixed #

  • Ensured stability by guarding against uninitialized access to singleton instance.
  • Fixed issue where initializeClient() did not reinitialize after token update.

1.0.1 #

Added #

  • Prevent multiple simultaneous token refresh calls using Completer lock mechanism.
  • Ensured only one request triggers refresh while others wait, improving stability and reducing redundant API calls.

0.0.1 #

  • Initial release with:
    • GraphQL client setup using graphql_flutter.
    • ActionCable WebSocket support for subscriptions.
    • Centralized query, mutation, and subscription methods.
    • Automatic token refresh handling for expired tokens.
2
likes
130
points
376
downloads

Publisher

verified publishermypackeges.tk

Weekly Downloads

A lightweight GraphQL client wrapper for Flutter that supports standard GraphQL queries, mutations, subscriptions over ActionCable, token-based authentication with automatic token refresh handling.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

action_cable, flutter, graphql_flutter

More

Packages that depend on flutter_graphql_client_plus