Interface: GraphQLOperation
Defined in: client/GraphQLClient.ts:50
Represents a GraphQL operation (query or mutation).
As of v0.4.0, fragment inlining is performed at build time, so operation
strings reaching execute() already contain every fragment they reference.
Properties
fetchOptions?
optionalfetchOptions?:GraphQLFetchOptions
Defined in: client/GraphQLClient.ts:59
Optional fetch hints for THIS operation (e.g. Next.js data-cache control).
Pass-through to the underlying fetch() call. NEVER included in the
GraphQL request body — it's a transport hint, not part of the wire payload.
operationName?
optionaloperationName?:string
Defined in: client/GraphQLClient.ts:51
query
query:
string
Defined in: client/GraphQLClient.ts:52
variables?
optionalvariables?:Record<string,any>
Defined in: client/GraphQLClient.ts:53