GraphQLEnum

Undocumented

  • Undocumented

    Declaration

    Swift

    static func cases(using context: inout Resolution.Context) throws -> [String : Self]
  • additionalArguments Extension method

    Declaration

    Swift

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

    Declaration

    Swift

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

    Undocumented

    Declaration

    Swift

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

    Undocumented

    Declaration

    Swift

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

    Swift

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

Available where Self: CaseIterable & RawRepresentable, RawValue == String

  • cases(using:) Default implementation

    Default Implementation

    Undocumented

    Declaration

    Swift

    public static func cases(using context: inout Resolution.Context) throws -> [String : Self]