Optional
extension Optional: ValueResolvable where Wrapped: ValueResolvable
extension Optional: InputResolvable where Wrapped: InputResolvable
extension Optional: OutputResolvable where Wrapped: OutputResolvable
extension Optional: Resolvable where Wrapped: Resolvable
Conditional Conformance
All optionals of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value
-
Undocumented
Declaration
Swift
public func map() throws -> Map
-
Declaration
Swift
public static func resolve(using context: inout Resolution.Context) throws -> GraphQLInputType
-
Declaration
Swift
public static func create(from map: Map) throws -> Optional<Wrapped>
-
Declaration
Swift
public static var additionalArguments: [String : InputResolvable.Type] { get }
-
Declaration
Swift
public static func reference(using context: inout Resolution.Context) throws -> GraphQLOutputType
-
Declaration
Swift
public static func resolve(using context: inout Resolution.Context) throws -> GraphQLOutputType
-
Declaration
Swift
public func resolve(source: Any, arguments: [String : Map], context: MutableContext, eventLoop: EventLoopGroup) throws -> Output