IndexedConnection

public protocol IndexedConnection : ConcreteResolvable, OutputResolvable

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype Node : ConcreteResolvable, OutputResolvable
  • Undocumented

    Declaration

    Swift

    associatedtype Identifier : Hashable
  • Undocumented

    Declaration

    Swift

    associatedtype Translator : IndexCursorTranslator = StandardIndexCursorTranslator
  • Undocumented

    Declaration

    Swift

    var identifier: Identifier { get }
  • Undocumented

    Declaration

    Swift

    func totalCount(eventLoop: EventLoopGroup) -> EventLoopFuture<Int>
  • defaultPageSize(eventLoop:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func defaultPageSize(eventLoop: EventLoopGroup) -> EventLoopFuture<Int?>
  • Undocumented

    Declaration

    Swift

    func nodes(offset: Int, size: Int, eventLoop: EventLoopGroup) -> EventLoopFuture<[Node?]?>
  • concreteTypeName Extension method

    Declaration

    Swift

    public static var concreteTypeName: String { get }
  • additionalArguments Extension method

    Warning

    default implementation from GraphZahl. Do not override unless you know exactly what you are doing.

    Declaration

    Swift

    public static var additionalArguments: [String : InputResolvable.Type] { get }
  • resolve(using:) Extension method

    Warning

    default implementation from GraphZahl. Do not override unless you know exactly what you are doing.

    Declaration

    Swift

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

    default implementation from GraphZahl. Do not override unless you know exactly what you are doing.

    Declaration

    Swift

    public func resolve(source: Any, arguments: [String : Map], context: MutableContext, eventLoop: EventLoopGroup) throws -> Output