PreparedQuery

gql.PreparedQuery$

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class FieldInfo[G[_]](name: String, alias: Option[String], args: Option[Arguments], tpe: SimplifiedType[G], caret: Caret, path: Cursor)

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object FieldInfo

Attributes

Companion:
class
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class FoundImplementation[G[_], A, B](tpe: Type[G, B], specify: A => Option[B])

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class MergedFieldInfo[G[_]](name: String, alias: Option[String], args: Option[Arguments], selections: List[SelectionInfo[G]], caret: Caret, path: Cursor)

Attributes

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

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class PairedFieldSelection[G[_], A](info: MergedFieldInfo[G], field: Field[G, A, _])

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class PositionalError(position: Cursor, caret: List[Caret], message: String)

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Prep(cycleSet: Set[String], cursor: Cursor)

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Prep

Attributes

Companion:
class
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Prep.type
object PrepResult

Attributes

Companion:
trait
Source:
PreparedQuery.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait PrepResult[G[_], Q, M, S]

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
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]
sealed trait Prepared[F[_], I]

Attributes

Source:
PreparedQuery.scala
Graph
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
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class PreparedDataField[F[_], A](name: String, alias: Option[String], cont: PreparedCont[F, A, _]) extends PreparedField[F, A]

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait PreparedField[F, A]
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait PreparedField[F[_], A] extends Product with Serializable

Attributes

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

Attributes

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

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
trait Prepared[F, C]
class Object
trait Matchable
class Any
final case class PreparedMeta(variables: VariableMap, alias: Option[String], args: Option[Arguments])

Attributes

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

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
trait Prepared[F, Option[I]]
class Object
trait Matchable
class Any
final case class PreparedSpecification[F[_], I, A](typename: String, specify: I => Option[A], selection: NonEmptyList[PreparedDataField[F, A]]) extends PreparedField[F, I]

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait PreparedField[F, I]
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Source:
PreparedQuery.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait PreparedStep[F[_], -I, +O] extends Product with Serializable

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
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 Lift[F, I, O]
final case class Selection[F[_], I](fields: NonEmptyList[PreparedField[F, I]]) extends Prepared[F, I]

Attributes

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

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Source:
PreparedQuery.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait SimplifiedType[G[_]]

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Enum[G]
class List[G]
class Option[G]
class Scalar[G]
class Selectable[G]
final case class UniqueBatchInstance[K, V](id: Int) extends AnyVal

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
final case class UniqueEdgeCursor(path: Type[String])

Attributes

Companion:
object
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
PreparedQuery.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Used

Attributes

Source:
PreparedQuery.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Used.type

Types

type H[A] = EitherT[[_] =>> Kleisli[[_] =>> State[Int, _$149], Prep, _$150], Type[PositionalError], A]

Attributes

Source:
PreparedQuery.scala
type Used[F[_], A] = WriterT[F, UsedArgs, A]

Attributes

Source:
PreparedQuery.scala

Attributes

Source:
PreparedQuery.scala

Value members

Concrete methods

def ambientEdge[F[_], A](edge: GraphArc)(fa: F[A])(implicit L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def ambientField[F[_], A](name: String)(fa: F[A])(implicit L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def ambientIndex[F[_], A](i: Int)(fa: F[A])(implicit L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def appendMessage[F[_], A](message: String)(fa: F[A])(implicit F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def checkFieldsMerge[F[_] : Parallel, G[_]](a: FieldInfo[G], asi: SelectionInfo[G], b: FieldInfo[G], bsi: SelectionInfo[G])(implicit evidence$6: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Unit]

Attributes

Source:
PreparedQuery.scala
def checkSelectionsMerge[F[_] : Parallel, G[_]](xs: NonEmptyList[SelectionInfo[G]])(implicit evidence$7: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Unit]

Attributes

Source:
PreparedQuery.scala
def checkSimplifiedTypeShape[F[_] : Parallel, G[_]](a: SimplifiedType[G], b: SimplifiedType[G], caret: Caret)(implicit evidence$8: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Unit]

Attributes

Source:
PreparedQuery.scala
def collectFieldInfo[F[_] : Parallel, G[_]](af: AbstractField[G, _], f: Field, caret: Caret, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit evidence$2: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, Type[PositionalError]], D: Defer[F]): F[FieldInfo[G]]

Attributes

Source:
PreparedQuery.scala
def collectFields[G[_]](step: Step[G, _, _]): Chain[Arg[Any]]

Attributes

Source:
PreparedQuery.scala
def collectSelectionInfo[F[_] : Parallel, G[_]](s: Selectable[G, _], ss: SelectionSet, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit evidence$3: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, Type[PositionalError]], D: Defer[F]): F[NonEmptyList[SelectionInfo[G]]]

Attributes

Source:
PreparedQuery.scala
def compareArguments[F[_] : Parallel](name: String, aa: Arguments, ba: Arguments, caret: Option[Caret])(implicit evidence$5: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Unit]

Attributes

Source:
PreparedQuery.scala
def compareValues[F[_] : Parallel](av: Value[AnyValue], bv: Value[AnyValue], caret: Option[Caret])(implicit evidence$4: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Unit]

Attributes

Source:
PreparedQuery.scala
def compileStep[F[_] : Parallel, G[_], I, O](step: Step[G, I, O], cursor: UniqueEdgeCursor, meta: PreparedMeta)(implicit evidence$1: Parallel[F], L: Local[F, Prep], S: Stateful[F, Int], F: MonadError[F, Type[PositionalError]]): Used[F, PreparedStep[G, I, O]]

Attributes

Source:
PreparedQuery.scala
def decodeFieldArgs[F[_] : Parallel, G[_], A](a: Arg[A], args: Option[Arguments], variableMap: VariableMap)(implicit evidence$10: Parallel[F], L: Local[F, Prep], F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def fieldName[G[_]](f: FieldInfo[G]): String

Attributes

Source:
PreparedQuery.scala
def findImplementations[G[_], A](s: Selectable[G, A], discoveryState: DiscoveryState[G]): List[FoundImplementation[G, A, _]]

Attributes

Source:
PreparedQuery.scala
def friendlyName[G[_], A](ot: Out[G, A]): String

Attributes

Source:
PreparedQuery.scala
def getOperationDefinition[F[_]](ops: List[Pos[OperationDefinition]], operationName: Option[String])(implicit F: MonadError[F, (String, List[Caret])]): F[OperationDefinition]

Attributes

Source:
PreparedQuery.scala

Attributes

Source:
PreparedQuery.scala
def inFragment[F[_], A](fragmentName: String, fragments: Map[String, Pos[FragmentDefinition]], caret: Option[Caret])(faf: Pos[FragmentDefinition] => F[A])(implicit L: Local[F, Prep], F: MonadError[F, Type[PositionalError]], D: Defer[F]): F[A]

Attributes

Source:
PreparedQuery.scala
def inName[A](in: In[A]): String

Attributes

Source:
PreparedQuery.scala
def matchType[F[_], G[_]](name: String, sel: Selectable[G, _], caret: Caret, discoveryState: DiscoveryState[G])(implicit F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[Selectable[G, _]]

Attributes

Source:
PreparedQuery.scala
def mergeImplementations[F[_] : Parallel, G[_], A](base: Selectable[G, A], sels: NonEmptyList[SelectionInfo[G]], discoveryState: DiscoveryState[G])(implicit evidence$9: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[NonEmptyList[MergedImplementation[G, A, _]]]

Attributes

Source:
PreparedQuery.scala
def modifyError[F[_], A](f: PositionalError => PositionalError)(fa: F[A])(implicit F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def parseArg[F[_] : Parallel, A](arg: Arg[A], input: Map[String, Value[AnyValue]], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit evidence$18: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def parseArgValue[F[_] : Parallel, A](a: ArgValue[A], input: Map[String, Value[AnyValue]], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit evidence$17: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[ArgParam[A]]

Attributes

Source:
PreparedQuery.scala
def parseInput[F[_] : Parallel, A](v: Value[AnyValue], tpe: In[A], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit evidence$16: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def parseInputObj[F[_] : Parallel, A](v: ObjectValue[AnyValue], fields: Arg[A], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit evidence$15: Parallel[F], F: MonadError[F, Type[PositionalError]], L: Local[F, Prep]): F[A]

Attributes

Source:
PreparedQuery.scala
def prepare[F[_] : Applicative, Q, M, S](executabels: NonEmptyList[ExecutableDefinition], schema: SchemaShape[F, Q, M, S], variableMap: Map[String, Json], operationName: Option[String]): EitherNec[PositionalError, PrepResult[F, Q, M, S]]

Attributes

Source:
PreparedQuery.scala
def prepareField[F[_] : Parallel, G[_] : Applicative, I, T](fi: MergedFieldInfo[G], field: Field[G, I, T], currentTypename: String, variableMap: VariableMap, discoveryState: DiscoveryState[G])(implicit evidence$11: Parallel[F], evidence$12: Applicative[G], L: Local[F, Prep], S: Stateful[F, Int], F: MonadError[F, Type[PositionalError]], D: Defer[F]): F[PreparedDataField[G, I]]

Attributes

Source:
PreparedQuery.scala
def prepareParts[F[_] : Parallel, G[_] : Applicative, Q, M, S](op: OperationDefinition, frags: List[Pos[FragmentDefinition]], schema: SchemaShape[G, Q, M, S], variableMap: Map[String, Json])(implicit evidence$19: Parallel[F], evidence$20: Applicative[G], L: Local[F, Prep], F: MonadError[F, Type[PositionalError]], S: Stateful[F, Int], D: Defer[F]): F[PrepResult[G, Q, M, S]]

Attributes

Source:
PreparedQuery.scala
def prepareSelectable[F[_] : Parallel, G[_], A](s: Selectable[G, A], sis: NonEmptyList[SelectionInfo[G]], variableMap: VariableMap, discoveryState: DiscoveryState[G])(implicit evidence$13: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, Type[PositionalError]], S: Stateful[F, Int], D: Defer[F]): F[NonEmptyList[PreparedSpecification[G, A, _]]]

Attributes

Source:
PreparedQuery.scala
def prepareSelectableRoot[F[_] : Parallel, G[_], A](s: Selectable[G, A], ss: SelectionSet, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit evidence$14: Parallel[F], G: Applicative[G], L: Local[F, Prep], S: Stateful[F, Int], F: MonadError[F, Type[PositionalError]], D: Defer[F]): F[NonEmptyList[PreparedSpecification[G, A, _]]]

Attributes

Source:
PreparedQuery.scala
def raise[F[_], A](s: String, caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def raiseEither[F[_], A](e: Either[String, A], caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def raiseOpt[F[_], A](o: Option[A], s: String, caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, Type[PositionalError]]): F[A]

Attributes

Source:
PreparedQuery.scala
def typenameField[A](typename: String): Field[Pure, A, String]

Attributes

Source:
PreparedQuery.scala

Concrete fields

val runK: FunctionK[H, [_] =>> EitherNec[PositionalError, _$151]]

Attributes

Source:
PreparedQuery.scala