graphql method

GraphQLClient graphql(
  1. IntegrationId integrationId
)

Returns a GraphQL client for the given integrationId. The GraphQL client can be used to execute GraphQL queries and mutations.

For more information about GraphQL in Squid, please refer to the documentation.

Implementation

GraphQLClient graphql(IntegrationId integrationId) {
  _validateNotDestructed();
  return _graphqlClientFactory.get(integrationId);
}