CirceMapping

abstract class CirceMapping[F[_]] extends Mapping[F]
class Mapping[F]
class Object
trait Matchable
class Any

Type members

Classlikes

case class CirceCursor(context: Context, focus: Json, parent: Option[Cursor], env: Env) extends Cursor
case class CirceRoot(otpe: Option[Type], fieldName: String, root: Json, mutation: Mutation)(implicit pos: SourcePos) extends RootMapping
Companion:
object
Source:
circemapping.scala
object CirceRoot
Companion:
class
Source:
circemapping.scala

Inherited classlikes

case class CursorField[T](fieldName: String, f: Cursor => Result[T], encoder: Encoder[T], required: List[String], hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
case class CursorFieldJson(fieldName: String, f: Cursor => Result[Json], encoder: Encoder[Json], required: List[String], hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
case class Delegate(fieldName: String, interpreter: Mapping[F], join: (Cursor, Query) => Result[Query])(implicit pos: SourcePos) extends FieldMapping
Inherited from:
Mapping
Source:
mapping.scala
trait FieldMapping extends Product with Serializable
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
trait LeafMapping[T] extends TypeMapping
Inherited from:
Mapping
Source:
mapping.scala
case class Mutation(run: (Query, Env) => Stream[F, Result[(Query, Env)]])

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
object Mutation
Inherited from:
Mapping
Source:
mapping.scala
abstract class ObjectMapping extends TypeMapping
Inherited from:
Mapping
Source:
mapping.scala
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
case class PrimitiveMapping(tpe: Type)(implicit pos: SourcePos) extends TypeMapping
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
trait TypeMapping extends Product with Serializable
Inherited from:
Mapping
Source:
mapping.scala

Value members

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
Inherited from:
Mapping
Source:
mapping.scala
def fieldMapping(context: Context, fieldName: String): Option[FieldMapping]
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala
def rootCursor(context: Context, fieldName: String, resultName: Option[String], child: Query, env: Env): Stream[F, Result[(Query, Cursor)]]
def rootMapping(context: Context, fieldName: String): Option[RootMapping]
Inherited from:
Mapping
Source:
mapping.scala
def run(op: Operation, env: Env): Stream[F, Json]
Inherited from:
Mapping
Source:
mapping.scala
def run(query: Query, rootTpe: Type, env: Env): Stream[F, Json]
Inherited from:
Mapping
Source:
mapping.scala

Inherited fields

Inherited from:
Mapping
Source:
mapping.scala
Inherited from:
Mapping
Source:
mapping.scala

Implicits

Inherited implicits

implicit val M: Monad[F]
Inherited from:
Mapping
Source:
mapping.scala