@accounts/graphql-client

@accounts/graphql-clientGlobals

@accounts/graphql-client

Client side graphql transport for accounts suite

npm MIT License

Install

yarn add @accounts/graphql-client

Usage

import { ApolloClient } from 'apollo-client';
import { AccountsGraphQLClient } from '@accounts/graphql-client';
const apolloClient = new ApolloClient({
// apollo options
});
const accountsGraphQL = new AccountsGraphQLClient({
graphQLClient: apolloClient,
// other options
});