GenericRoot

case class GenericRoot[T](tpe: Option[Type], fieldName: String, t: T, cb: () => CursorBuilder[T], mutation: Mutation)(implicit pos: SourcePos) extends RootMapping
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def cursor(query: Query, env: Env, resultName: Option[String]): Stream[F, Result[(Query, Cursor)]]
def withParent(tpe: Type): GenericRoot[T]

Inherited methods

def hidden: Boolean
Inherited from
RootMapping
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final def run(query: Query, env: Env, resultName: Option[String]): Stream[F, Result[(Query, Cursor)]]

Run this RootMapping's mutation, if any, then construct and return the result cursor along with the [possibly updated] query.

Run this RootMapping's mutation, if any, then construct and return the result cursor along with the [possibly updated] query.

Inherited from
RootMapping

Concrete fields

Implicits

Implicits

implicit val pos: SourcePos