GraphQLResponse
public struct GraphQLResponse<T> : Codable where T : Decodable, T : Encodable
Simple model object to wrap a GraphQL response to expose a Codable response without having to use large GraphQL libraries
-
Array of errors returned from the server
Declaration
Swift
public let errors: [GraphQLError]?
-
Generic data type matching the user supplied type
Declaration
Swift
public let data: T?