Extensions
The following extensions are available globally.
-
Conditional Conformance
All arrays of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value
See moreDeclaration
Swift
extension Array: ValueResolvable where Element: ValueResolvable
extension Array: InputResolvable where Element: InputResolvable
extension Array: OutputResolvable where Element: OutputResolvable
extension Array: Resolvable where Element: Resolvable
-
Conditional Conformance
All optionals of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value
See moreDeclaration
Swift
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 raw representables of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value
See moreDeclaration
Swift
extension RawRepresentable where Self: ValueResolvable, RawValue: ValueResolvable
extension RawRepresentable where Self: InputResolvable, RawValue: InputResolvable
extension RawRepresentable where RawValue: GraphQLScalar, Self: GraphQLScalar
-
Conditional Conformance
All Futures of values that are GraphQL Outputs, can be outputs themselves
See moreDeclaration
Swift
extension EventLoopFuture: OutputResolvable where Value: OutputResolvable
extension EventLoopFuture: Resolvable where Value: Resolvable
-
Declaration
Swift
extension KeyPath: Resolvable where Root: ConcreteResolvable & KeyPathListable
extension KeyPath: ConcreteResolvable where Root: ConcreteResolvable & KeyPathListable
extension KeyPath: InputResolvable where Root: ConcreteResolvable & KeyPathListable
-
Declaration
Swift
extension Bool: GraphQLScalar
-
Declaration
Swift
extension Double: GraphQLScalar
-
Declaration
Swift
extension Float: GraphQLScalar
-
Declaration
Swift
extension Int: GraphQLScalar
-
Declaration
Swift
extension String: GraphQLScalar
-
Declaration
Swift
extension UUID: GraphQLScalar
-
Declaration
Swift
extension ContextKeyPaths