sangria.relay.Node$
See theNode companion trait
object Node
Attributes
Members list
Value members
Concrete methods
def definition[Ctx, Val, Res](resolve: (GlobalId, Context[Ctx, Val]) => LeafAction[Ctx, Option[Res]], possibleTypes: => List[PossibleNodeObject[Ctx, Node]], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double]): NodeDefinition[Ctx, Val, Res]
def definitionById[Ctx, Val, Res](resolve: (String, Context[Ctx, Val]) => LeafAction[Ctx, Option[Res]], possibleTypes: => List[PossibleNodeObject[Ctx, Node]], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double]): NodeDefinition[Ctx, Val, Res]
def globalIdField[Ctx, Val](typeName: Option[String], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double])(implicit ev: IdentifiableNode[Ctx, Val]): Field[Ctx, Val]
def pluralIdentifyingRootField[Ctx, Val, Res, Out, T](fieldName: String, fieldType: OutputType[Out], argName: String, argType: InputType[T], resolveSingleInput: (T, Context[Ctx, Val]) => Option[Out], description: Option[String], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double])(implicit res: ArgumentType[T], ev1: ValidOutType[Res, Out], fromInput: FromInput[T]): Field[Ctx, Val]
def pluralIdentifyingRootFieldFut[Ctx, Val, Res, Out, T](fieldName: String, fieldType: OutputType[Out], argName: String, argType: InputType[T], resolveSingleInput: (T, Context[Ctx, Val]) => Future[Option[Out]], description: Option[String], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) => Double])(implicit res: ArgumentType[T], ev1: ValidOutType[Res, Out], execCtx: ExecutionContext, fromInput: FromInput[T]): Field[Ctx, Val]
def possibleNodeTypes[Ctx, Abstract](objectTypes: PossibleNodeObject[Ctx, Abstract]*): List[PossibleNodeObject[Ctx, Abstract]]
Implicits
Implicits
implicit def identifiableNodeType[Ctx, T](implicit ev: IdentifiableNode[Ctx, T]): PossibleType[Node, T]
In this article