gql.preparation

package gql.preparation

Members list

Type members

Classlikes

sealed trait Alg[+C, +A]

Attributes

Companion
object
Source
Alg.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Attempt[C, A]
object CursorAsk.type
class CursorOver[C, A]
object CycleAsk.type
class CycleOver[C, A]
class FlatMap[C, A, B]
object NextId.type
class ParAp[C, A, B]
class Pure[A]
class RaiseError[C]
class UseVariable
Show all
object Alg

Attributes

Companion
trait
Source
Alg.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Alg.type
class ArgParsing[C](variables: VariableMap[C])

Attributes

Source
ArgParsing.scala
Supertypes
class Object
trait Matchable
class Any
class DirectiveAlg[F[_], C](positions: Map[String, List[Position[F, _]]], ap: ArgParsing[C])

Attributes

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

Attributes

Companion
class
Source
DirectiveAlg.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class FieldCollection[F[_], C](implementations: Implementations[F], fragments: Map[String, FragmentDefinition[C]], ap: ArgParsing[C], da: DirectiveAlg[F, C])

Attributes

Source
FieldCollection.scala
Supertypes
class Object
trait Matchable
class Any
final case class FieldInfo[G[_], C](name: String, alias: Option[String], args: Option[Arguments[C, AnyValue]], tpe: InverseModifierStack[TypeInfo[G, C]], directives: Option[Directives[C, AnyValue]], caret: C, path: Cursor)

Attributes

Source
FieldCollection.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class FieldMerging[C]

Attributes

Source
FieldMerging.scala
Supertypes
class Object
trait Matchable
class Any
final case class MergedFieldInfo[G[_], C](name: String, alias: Option[String], args: Option[Arguments[C, AnyValue]], selections: List[SelectionInfo[G, C]], directives: Option[Directives[C, AnyValue]], caret: C, path: Cursor)

Attributes

Source
QueryPreparation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class MergedImplementation[G[_], A, B, C](leaf: Type[G, B], selections: NonEmptyList[PairedFieldSelection[G, B, C]], specify: A => Option[B])

Attributes

Source
QueryPreparation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class MergedSpecialization[G[_], A, B, C](spec: Specialization[G, A, B], selections: NonEmptyList[PairedFieldSelection[G, B, C]])

Attributes

Source
QueryPreparation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NodeId(id: NonEmptyList[Int]) extends AnyVal

Attributes

Companion
object
Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object NodeId

Attributes

Companion
class
Source
PreparedQuery.scala
Supertypes
class Object
trait Matchable
class Any
Self type
NodeId.type
final case class PairedFieldSelection[G[_], A, C](info: MergedFieldInfo[G, C], field: Field[G, A, _])

Attributes

Source
QueryPreparation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PartialFieldMeta[C](alias: Option[String], args: Option[Arguments[C, AnyValue]])

Attributes

Source
QueryPreparation.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PositionalError[C](position: Cursor, caret: List[C], message: String)

Attributes

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

Attributes

Companion
class
Source
PositionalError.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Prepared[+F[_], I]

Attributes

Source
PreparedQuery.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PreparedLeaf[F, I]
class PreparedList[F, A, C, B]
class PreparedOption[F, I, O]
class Selection[F, I]
final case class PreparedCont[+F[_], I, A](edges: PreparedStep[F, I, A], cont: Prepared[F, A])

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PreparedDataField[+F[_], A, B](nodeId: NodeId, name: String, alias: Option[String], cont: PreparedCont[F, A, B], source: Field[F, A, B], parsedArgs: Map[Arg[_], Any]) extends PreparedField[F, A]

Attributes

Source
PreparedQuery.scala
Supertypes
trait PreparedField[F, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait PreparedField[+F[_], A] extends Product, Serializable

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class PreparedDataField[F, A, B]
class PreparedSpecification[F, I, A]
final case class PreparedLeaf[F[_], I](nodeId: NodeId, name: String, encode: I => Json) extends Prepared[F, I]

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Prepared[F, I]
class Object
trait Matchable
class Any
Show all
final case class PreparedList[F[_], A, C, B](id: NodeId, of: PreparedCont[F, A, B], toSeq: C => Seq[A]) extends Prepared[F, C]

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Prepared[F, C]
class Object
trait Matchable
class Any
Show all
final case class PreparedMeta[+F[_]](variables: VariableMap[Unit], args: Option[Arguments[Unit, AnyValue]], pdf: PreparedDataField[F, _, _])

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PreparedOption[F[_], I, O](id: NodeId, of: PreparedCont[F, I, O]) extends Prepared[F, Option[I]]

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Prepared[F, Option[I]]
class Object
trait Matchable
class Any
Show all
sealed trait PreparedRoot[G[_], Q, M, S]

Attributes

Companion
object
Source
RootPreparation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Mutation[G, Q, M, S]
class Query[G, Q, M, S]
class Subscription[G, Q, M, S]
object PreparedRoot

Attributes

Companion
trait
Source
RootPreparation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class PreparedSpecification[F[_], I, A](nodeId: NodeId, specialization: Specialization[F, I, A], selection: List[PreparedDataField[F, A, _]]) extends PreparedField[F, I]

Attributes

Source
PreparedQuery.scala
Supertypes
trait PreparedField[F, I]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait PreparedStep[+F[_], -I, +O] extends Product, Serializable

Attributes

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

Attributes

Companion
trait
Source
PreparedQuery.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class QueryPreparation[F[_], C](ap: ArgParsing[C], da: DirectiveAlg[F, C], variables: VariableMap[C], implementations: Implementations[F])

Attributes

Source
QueryPreparation.scala
Supertypes
class Object
trait Matchable
class Any
class RootPreparation[F[_], C]

Attributes

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

Attributes

Companion
class
Source
RootPreparation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Selection[F[_], I](nodeId: NodeId, fields: List[PreparedField[F, I]], source: Selectable[F, I]) extends Prepared[F, I]

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Prepared[F, I]
class Object
trait Matchable
class Any
Show all
final case class SelectionInfo[G[_], C](s: Selectable[G, _], fields: NonEmptyList[FieldInfo[G, C]], fragmentName: Option[String])

Attributes

Source
FieldCollection.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait Specialization[F[_], A, B]

Attributes

Companion
object
Source
PreparedQuery.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Interface[F, A, B]
class Type[F, A]
class Union[F, A, B]

Attributes

Companion
trait
Source
PreparedQuery.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class StepEffectId(nodeId: NodeId, edgeId: UniqueEdgeCursor)

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait TypeInfo[+G[_], +C]

Attributes

Companion
object
Source
FieldCollection.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Enum
class Scalar
class Selectable[G, C]
object TypeInfo

Attributes

Companion
trait
Source
FieldCollection.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeInfo.type
final case class UniqueBatchInstance[K, V](id: NodeId)

Attributes

Source
PreparedQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class UniqueEdgeCursor(path: Type[String])

Attributes

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

Attributes

Companion
class
Source
PreparedQuery.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Variable[C](tpe: Type, value: Either[Json, Value[Const, C]])

Attributes

Source
Variable.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type Used[F[_], A] = WriterT[F, UsedArgs, A]

Attributes

Source
package.scala
type UsedArgs = Set[String]

Attributes

Source
package.scala
type VariableMap[C] = Map[String, Variable[C]]

Attributes

Source
package.scala

Value members

Concrete methods

def collectArgs[G[_]](step: Step[G, _, _]): Chain[Arg[_]]

Attributes

Source
package.scala
def fieldName[G[_], C](f: FieldInfo[G, C]): String

Attributes

Source
package.scala

Attributes

Source
package.scala