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)