Skip to main content

Function: initializeClient()

initializeClient(config): void

Defined in: client/GraphQLClient.ts:593

Initialize the default GraphQL client used by getClient().

Parameters

config

GraphQLClientConfig

Returns

void

Deprecated

The global-singleton pattern is deprecated and will be removed in a future release. Create a client with createClient() and pass it explicitly to service factories instead.