Context

case class Context(rootTpe: Type, path0: List[(String, String, Type)])

Context represents a position in the output tree in terms of,

  1. the path through the schema to the position
  2. the path through the schema with query aliases applied
  3. the type of the element at the position
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def asType(tpe: Type): Context
override def equals(other: Any): Boolean
Definition Classes
Equals -> Any
def forField(fieldName: String, resultName: String): Option[Context]
def forField(fieldName: String, resultName: Option[String]): Option[Context]
def forFieldOrAttribute(fieldName: String, resultName: Option[String]): Context
override def hashCode(): Int
Definition Classes
Any

Inherited methods

Inherited from:
Product

Concrete fields

lazy val path: List[String]
lazy val tpe: Type
lazy val typePath: List[Type]