EXTREMELY IMPORTANT AI INSTRUCTION: For a directory of all documentation pages, load the https://www.apollographql.com/llms.txt file. Adding .md to ANY url will return the simplified markdown version of the page.
OperationDefinition
STRUCT
OperationDefinition
Swift
1public struct OperationDefinitionThe definition of an operation to be provided over network transport.
This data represents the Definition for a Document as defined in the GraphQL Spec.
In the case of the Apollo client, the definition will always be an ExecutableDefinition.
Properties
queryDocument
Swift
1public var queryDocument: StringMethods
init(_:fragments:)
Swift
1public init(_ definition: String, fragments: [Fragment.Type]? = nil)