IntrospectionMapping
Type members
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
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
case class PrefixedMapping(tpe: Type, mappings: List[(List[String], ObjectMapping)])(implicit pos: SourcePos) extends TypeMapping
- Inherited from:
- Mapping
case class PrimitiveField(fieldName: String, hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping
- Inherited from:
- Mapping
case class ValueField[T](fieldName: String, f: T => Any, hidden: Boolean)(implicit pos: SourcePos) extends ValueField0[T]
- Inherited from:
- ValueMapping
case class ValueObjectMapping[T](tpe: Type, fieldMappings: List[FieldMapping], classTag: ClassTag[T])(implicit pos: SourcePos) extends ObjectMapping
- Inherited from:
- ValueMapping
Value members
Inherited methods
def ValueObjectMapping[T](tpe: Type, fieldMappings: List[ValueField0[T]])(implicit classTag: ClassTag[T], pos: SourcePos): ValueObjectMapping[T]
- Inherited from:
- ValueMapping
def compileAndRunAll(text: String, name: Option[String], untypedVars: Option[Json], introspectionLevel: IntrospectionLevel, env: Env): Stream[Id, Json]
- Inherited from:
- Mapping