GraphqlOptions interface

Interface representing GraphQL options.

Signature:

export interface GraphqlOptions<Variables> 

Properties

Property Type Description
operationName string The name of the GraphQL operation. Required only if query contains multiple operations.
variables Variables Values for GraphQL variables provided in this query or mutation.

GraphqlOptions.operationName

The name of the GraphQL operation. Required only if query contains multiple operations.

Signature:

operationName?: string;

GraphqlOptions.variables

Values for GraphQL variables provided in this query or mutation.

Signature:

variables?: Variables;