the-apollo-utilities
v0.1.5
Published
Custom apollo links for use with ApolloGraphQL's apollo client
Downloads
26
Readme
the-apollo-utilities
Custom apollo links for use with ApolloGraphQL's apollo client
What's included?
queryLogger
Logger for graphQL queries and mutations. Includes performance information.
errorLogger
Logger for graphQL and network errors
Prerequisites
- Apollo Link.
Usage
import { errorLogger, queryLogger } from "the-apollo-utilities";
// ...
ApolloLink.from([
errorLogger,
queryLogger,
// ...
]);
Screenshots
Query (expanded):
Mutation (expanded):
GraphQL Error (expanded):
Network Error (expanded):