Mapping
- Source:
- mapping.scala
Type members
Classlikes
case class CursorField[T](fieldName: String, f: Cursor => Result[T], encoder: Encoder[T], required: List[String], hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
- Companion:
- object
- Source:
- mapping.scala
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
.
- Companion:
- object
- Source:
- mapping.scala
case class PrefixedMapping(tpe: Type, mappings: List[(List[String], ObjectMapping)])(implicit pos: SourcePos) extends TypeMapping
- Source:
- mapping.scala
case class PrimitiveField(fieldName: String, hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
- Source:
- mapping.scala
Value members
Concrete methods
def compileAndRunAll(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env): Stream[F, Json]
- Source:
- mapping.scala
def compileAndRunOne(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env)(implicit sc: Compiler[F, F]): F[Json]
- Source:
- mapping.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