gql.resolver

package gql.resolver

Members list

Type members

Classlikes

final case class FieldMeta[+F[_]](queryMeta: QueryMeta, args: Option[Arguments[Unit, AnyValue]], astNode: PreparedDataField[F, _, _])

A more specialized version of QueryMeta that also carries field specific information.

A more specialized version of QueryMeta that also carries field specific information.

Attributes

Source
Meta.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class QueryMeta(cursor: Cursor, variables: VariableMap[Unit])

Meta information about the current query.

Meta information about the current query.

Attributes

Source
Meta.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class Resolver[+F[_], -I, +O](val underlying: Step[F, I, O])

Resolver is one of the core abstractions of gql.

Resolver is one of the core abstractions of gql. The resolver class contains a collection of methods to aid comosition.

A Resolver forms an cats.arrow.Arrow; it can lift a function I => O. Resolver also forms cats.arrow.Choice which allows conditional branching.

Resolver also forms an cats.Applicative instance that sequences the operations.

Some methods are only available resolvers that have a certain shape. Consider taking a look at the companion object for more information.

Attributes

Companion
object
Source
Resolver.scala
Supertypes
class Object
trait Matchable
class Any
object Resolver extends ResolverInstances

Attributes

Companion
class
Source
Resolver.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Resolver.type

Attributes

Source
Resolver.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Resolver.type
trait ShowMissingKeys[A]

Attributes

Companion
object
Source
Resolver.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
Resolver.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Step[+F[_], -I, +O]

A step is a composable task that takes an input and produces an output.

A step is a composable task that takes an input and produces an output.

Attributes

Companion
object
Source
Step.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Argument[I, A]
class Batch[F, K, V]
class Choose[F, A, B, C, D]
class Compose[F, I, A, O]
class EmbedEffect[F, I]
class EmbedError[I]
class EmbedStream[F, I]
class First[F, A, B, C]
class GetMeta[F, I]
class InlineBatch[F, K, V]
class Lift[I, O]
Show all
object Step

Attributes

Companion
trait
Source
Step.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Step.type