Array

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 arrays of values that can be translated to a GraphQL Value, can themselves be translated to a GraphQL Value

Available where Element: ValueResolvable

  • Undocumented

    Declaration

    Swift

    public func map() throws -> Map

Available where Element: InputResolvable

  • Declaration

    Swift

    public static func resolve(using context: inout Resolution.Context) throws -> GraphQLInputType
  • Declaration

    Swift

    public static func create(from map: Map) throws -> Array<Element>

Available where Element: OutputResolvable