mirror of
https://github.com/wassname/talk.git
synced 2026-07-06 05:17:19 +08:00
8 lines
225 B
JavaScript
8 lines
225 B
JavaScript
import ApolloClient, {addTypename} from 'apollo-client';
|
|
import getNetworkInterface from './transport';
|
|
|
|
export const client = new ApolloClient({
|
|
queryTransformer: addTypename,
|
|
networkInterface: getNetworkInterface()
|
|
});
|