Context

case class Context(rootTpe: Type, path: List[String], resultPath: List[String], typePath: List[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
Source:
cursor.scala
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
Source:
cursor.scala
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
Source:
cursor.scala

Inherited methods

Inherited from:
Product

Concrete fields

lazy val tpe: Type