TagCollector

sangria.execution.TagCollector
class TagCollector[Ctx, T](tagMatcher: PartialFunction[FieldTag, T], action: (Seq[T], Ctx) => ReduceAction[Ctx, Ctx]) extends QueryReducer[Ctx, Ctx]

Attributes

Graph
Supertypes
trait QueryReducer[Ctx, Ctx]
class Object
trait Matchable
class Any

Members list

Type members

Types

type Acc = Vector[T]

Value members

Concrete methods

def reduceAlternatives(alternatives: Seq[Acc]): Acc
def reduceCtx(acc: Acc, ctx: Ctx): ReduceAction[Ctx, Ctx]
def reduceEnum[ET](path: ExecutionPath, ctx: Ctx, tpe: EnumType[ET]): Acc
def reduceField[Val](fieldAcc: Acc, childrenAcc: Acc, path: ExecutionPath, ctx: Ctx, astFields: Vector[Field], parentType: ObjectType[Ctx, Val], field: Field[Ctx, Val], argumentValuesFn: ArgumentValuesFn): Acc
def reduceScalar[ST](path: ExecutionPath, ctx: Ctx, tpe: ScalarType[ST]): Acc

Concrete fields

val initial: Acc