ValueRoot

case class ValueRoot(otpe: Option[Type], fieldName: String, root: F[Any], mutation: Mutation)(implicit pos: SourcePos) extends RootMapping
Companion:
object
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)]]

Inherited methods

Inherited from:
RootMapping
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

Implicits

Implicits

implicit val pos: SourcePos