Skip to content

GraphQLRequest

GraphQLRequest<TVariables> = object

Defined in: packages/fetch-kit/src/types.ts:230

A GraphQL request body, as transported over HTTP.

TVariables = Record<string, unknown>

Shape of the variables map; defaults to a loose record.

optional operationName?: string

Defined in: packages/fetch-kit/src/types.ts:233


query: string

Defined in: packages/fetch-kit/src/types.ts:231


optional variables?: TVariables

Defined in: packages/fetch-kit/src/types.ts:232