GenericMapping
- Source:
- genericmapping.scala
Type members
Classlikes
case class GenericRoot[T](tpe: Option[Type], fieldName: String, t: T, cb: () => CursorBuilder[T], mutation: Mutation)(implicit pos: SourcePos) extends RootMapping
- Source:
- genericmapping.scala
Inherited classlikes
Root mappings can perform a mutation prior to constructing the result Cursor
. A Mutation
may perform a Unit effect and simply return the passed arguments; or it may refine the passed
Query
and/or Env
that will be used to interpret the resulting Cursor
.
Root mappings can perform a mutation prior to constructing the result Cursor
. A Mutation
may perform a Unit effect and simply return the passed arguments; or it may refine the passed
Query
and/or Env
that will be used to interpret the resulting Cursor
.
- Inherited from:
- Mapping
- Source:
- mapping.scala
case class PrefixedMapping(tpe: Type, mappings: List[(List[String], ObjectMapping)])(implicit pos: SourcePos) extends TypeMapping
- Inherited from:
- Mapping
- Source:
- mapping.scala
case class PrimitiveField(fieldName: String, hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
- Inherited from:
- Mapping
- Source:
- mapping.scala
Value members
Concrete methods
def GenericRoot[T](fieldName: String, t: T, mutation: Mutation)(implicit cb: => CursorBuilder[T]): GenericRoot[T]
- Source:
- genericmapping.scala
Inherited methods
def compileAndRun(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env)(implicit sc: Compiler[F, F]): F[Json]
- Inherited from:
- QueryExecutor
- Source:
- mapping.scala
def compileAndRunAll(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env): Stream[F, Json]
- Inherited from:
- Mapping
- Source:
- mapping.scala
def compileAndRunOne(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env)(implicit sc: Compiler[F, F]): F[Json]