RawRepresentable
extension RawRepresentable where Self: ValueResolvable, RawValue: ValueResolvable
extension RawRepresentable where Self: InputResolvable, RawValue: InputResolvable
extension RawRepresentable where RawValue: GraphQLScalar, Self: GraphQLScalar
Conditional Conformance
All raw representables of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value
-
Warning
default implementation fromGraphZahl
. Do not override unless you know exactly what you are doing.Declaration
Swift
public func map() throws -> Map
-
Warning
default implementation fromGraphZahl
. Do not override unless you know exactly what you are doing.Declaration
Swift
public static func create(from map: Map) throws -> Self
-
Undocumented
Declaration
Swift
public init(scalar: ScalarValue) throws
-
Undocumented
Declaration
Swift
public func encodeScalar() throws -> ScalarValue