Mapping
- Source:
- mapping.scala
Type members
Classlikes
- Companion:
- object
- Source:
- mapping.scala
Cursor positioned at a GraphQL result leaf
Cursor positioned at a GraphQL result leaf
- Source:
- mapping.scala
- Source:
- mapping.scala
- Source:
- mapping.scala
Root Cursor
focussed on the top level operation of a query
Root Cursor
focussed on the top level operation of a query
Construction of mapping-specific cursors is handled by delegation to
mkCursorForField which is typically overridden in
Mapping` subtypes.
- Source:
- mapping.scala
Root effects can perform an intial effect prior to computing the resulting
Cursor
and effective Query
.
Root effects can perform an intial effect prior to computing the resulting
Cursor
and effective Query
.
Convenience methods are provided to cover the cases where only one of the query or the cursor are computed, and for where the computation is one-shot or a Stream. One-shot effects are used to perform initial effectful setup for a query or to perform the effect associated with a GraphQL mutation. Stream effects are used for GraphQL subscriptions.
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.
- Companion:
- object
- Source:
- mapping.scala
Value members
Concrete methods
- Source:
- mapping.scala
- Source:
- mapping.scala
Yields a Cursor
focused on the top level operation type of the query
Yields a Cursor
focused on the top level operation type of the query
- Source:
- mapping.scala
True if the supplied type is a leaf with respect to the GraphQL schema or mapping, false otherwise.
True if the supplied type is a leaf with respect to the GraphQL schema or mapping, false otherwise.
- Source:
- mapping.scala
Yields a Cursor
suitable for traversing the query result corresponding to
the fieldName
child of parent
.
Yields a Cursor
suitable for traversing the query result corresponding to
the fieldName
child of parent
.
This method is typically overridden in and delegated to by Mapping
subtypes.
- Source:
- mapping.scala
Yields the RootEffect
, if any, associated with fieldName
.
Yields the RootEffect
, if any, associated with fieldName
.
- Source:
- mapping.scala
Inherited methods
- Inherited from:
- QueryExecutor
- Source:
- mapping.scala