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.
GraphQLField
STRUCT
GraphQLField
Swift
1public struct GraphQLField: GraphQLSelectionMethods
init(_:alias:arguments:type:)
Swift
1public init(_ name: String,
2 alias: String? = nil,
3 arguments: FieldArguments? = nil,
4 type: GraphQLOutputType)cacheKey(with:)
Swift
1public func cacheKey(with variables: [String: JSONEncodable]?) throws -> String