GraphQLScalar
public protocol GraphQLScalar : ConcreteResolvable, InputResolvable, KeyPathListable, OutputResolvable, ValueResolvable
Undocumented
-
resolve()
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
static func resolve() throws -> GraphQLScalarType
-
Undocumented
Declaration
Swift
init(scalar: ScalarValue) throws
-
Undocumented
Declaration
Swift
func encodeScalar() throws -> ScalarValue
-
resolve(using:
Extension method) Undocumented
Declaration
Swift
public static func resolve(using context: inout Resolution.Context) throws -> GraphQLInputType
-
create(from:
Extension method) Declaration
Swift
public static func create(from map: Map) throws -> Self
-
additionalArguments
Extension methodDeclaration
Swift
public static var additionalArguments: [String : InputResolvable.Type] { get }
-
resolve(using:
Extension method) Undocumented
Declaration
Swift
public static func resolve(using context: inout Resolution.Context) throws -> GraphQLOutputType
-
resolve(source:
Extension methodarguments: context: eventLoop: ) Declaration
Swift
public func resolve(source: Any, arguments: [String : Map], context: MutableContext, eventLoop: EventLoopGroup) throws -> Output
-
map()
Extension methodUndocumented
Declaration
Swift
public func map() throws -> Map