Skip to main content

alice_graphql_client 1.1.4 copy "alice_graphql_client: ^1.1.4" to clipboard
alice_graphql_client: ^1.1.4 copied to clipboard

GraphQL link interceptor and network logger for Alice. Inspect, log, and debug GraphQL operations and responses in a native Flutter UI.

alice_graphql_client #

A GraphQL adapter for Alice.

Usage #

To use Alice with graphql_flutter, add AliceGraphQLLink to your link chain. You can optionally pass the url to properly format the endpoint and server in the Alice inspector.

import 'package:alice/alice.dart';
import 'package:alice_graphql_client/alice_graphql_client.dart';
import 'package:graphql_flutter/graphql_flutter.dart';

final alice = Alice();
final url = 'https://your-api.com/graphql';

final link = Link.from([
  AliceGraphQLLink(alice: alice, url: url),
  HttpLink(url),
]);

final client = GraphQLClient(
  cache: GraphQLCache(),
  link: link,
);
0
likes
160
points
438
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publisherhasoft.pl

Weekly Downloads

GraphQL link interceptor and network logger for Alice. Inspect, log, and debug GraphQL operations and responses in a native Flutter UI.

Repository (GitHub)
View/report issues

Topics

#graphql #interceptor #logging #network #link

License

Apache-2.0 (license)

Dependencies

alice, gql, gql_exec, gql_link, graphql, meta

More

Packages that depend on alice_graphql_client