GraphQLOperationInfo

constructor(name: String, type: OperationType, document: String, sourceFile: String, variables: List<GraphQLVariableInfo> = emptyList())(source)

Parameters

name

The operation name, e.g. "GetCurrentUser".

type

Whether this is a query, mutation, or subscription.

document

The full source text of this operation, with fragments inlined.

sourceFile

The file path from which this operation was parsed.

variables

The variable definitions for this operation, if any.