RootEffect

grackle.Mapping.RootEffect
See theRootEffect companion object
case class RootEffect extends EffectMapping

Root effects can perform an intial effect prior to computing the resulting Cursor and effective Query.

These effects are used to perform initial effectful setup for a query or to perform the effect associated with a GraphQL mutation. Convenience methods are provided to cover the cases where only one of the query or the cursor are computed.

If only the query is computed the default root cursor for the mapping will be used. If only the cursor is computed the client query (after elaboration) is used unmodified ... in this case results of the performed effect can only be passed to the result construction stage via the environment associated with the returned cursor.

Attributes

Companion
object
Source
mapping.scala
Graph
Supertypes
trait FieldMapping
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
mapping.scala

Attributes

Source
mapping.scala

Attributes

Source
mapping.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Implicits

Implicits

implicit val pos: SourcePos

Attributes

Source
mapping.scala