GraphQLOperationInfo

data class GraphQLOperationInfo(val name: String, val type: OperationType, val document: String, val sourceFile: String, val variables: List<GraphQLVariableInfo> = emptyList())(source)

Parsed information about a single GraphQL operation (query, mutation, or subscription).

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.

Constructors

Link copied to clipboard
constructor(name: String, type: OperationType, document: String, sourceFile: String, variables: List<GraphQLVariableInfo> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard