dsl

gql.dsl$
object dsl

A collection of smart-constructors and syntactic extensions for building GraphQL schemas.

Attributes

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

Members list

Type members

Classlikes

final class FieldBuilder[F[_], I](dummy: Boolean) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
class AnyVal
trait Matchable
class Any
final case class FieldsSyntax[F[_], A](fields: Fields[F, A]) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class InterfaceSyntax[F[_], A](tpe: Interface[F, A]) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class PartiallyAppliedArgFull[A](dummy: Boolean) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final class PartiallyAppliedEff[I](dummy: Boolean) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
class AnyVal
trait Matchable
class Any
final class PartiallyAppliedFieldBuilder[F[_], I](dummy: Boolean) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
class AnyVal
trait Matchable
class Any
final class PartiallyAppliedLift[F[_], I](dummy: Boolean) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
class AnyVal
trait Matchable
class Any
final case class PartiallyAppliedUnion0[F[_], A](name: String) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class PartiallyAppliedUnion1[F[_], A](name: String, hd: Variant[F, A, _])

Attributes

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

Attributes

Companion
trait
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ShowMissingKeys[A]

Attributes

Companion
object
Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
final case class SyntaxForBatchResolverSignature[F[_], K, V](r: Resolver[F, Set[K], Map[K, V]]) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class TypeSyntax[F[_], A](tpe: Type[F, A]) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class UnionSyntax[F[_], A](tpe: Union[F, A]) extends AnyVal

Attributes

Source
dsl.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object value

Attributes

Source
dsl.scala
Supertypes
class Object
trait Matchable
class Any
Self type
value.type

Types

Attributes

Source
dsl.scala
type Fields[F[_], -A] = NonEmptyList[(String, Field[F, A, _])]

Attributes

Source
dsl.scala

Value members

Concrete methods

def abst[F[_], T](implicit tpe: => Out[F, T]): AbstractField[F, T]

Attributes

Source
dsl.scala
def abstGroup[F[_]](hd: (String, AbstractField[F, _]), tl: (String, AbstractField[F, _])*): AbstractFields[F]

Attributes

Source
dsl.scala
def abstWith[F[_], T, A](arg: Arg[A])(implicit tpe: => Out[F, T]): AbstractField[F, T]

Attributes

Source
dsl.scala
def arg[A](name: String)(implicit tpe: => In[A]): Arg[A]

Attributes

Source
dsl.scala
def arg[A](name: String, description: String)(implicit tpe: => In[A]): Arg[A]

Attributes

Source
dsl.scala
def arg[A](name: String, default: Value[Const, Unit])(implicit tpe: => In[A]): Arg[A]

Attributes

Source
dsl.scala
def arg[A](name: String, default: Value[Const, Unit], description: String)(implicit tpe: => In[A]): Arg[A]

Attributes

Source
dsl.scala

Attributes

Source
dsl.scala
def arged[F[_], I, A](a: Arg[A]): Resolver[F, I, A]

Attributes

Source
dsl.scala
def arrType[F[_], A, C, B](toSeq: C => Seq[A])(resolver: Resolver[F, A, B])(implicit tpe: => Out[F, B]): OutArr[F, A, C, B]

Attributes

Source
dsl.scala
def arrType[F[_], A, G <: (Seq), B](resolver: Resolver[F, A, B])(implicit tpe: => Out[F, B]): OutArr[F, A, G[A], B]

Attributes

Source
dsl.scala
def arrType[A](implicit tpe: => In[A]): In[Seq[A]]

Attributes

Source
dsl.scala
def build[F[_], I]: FieldBuilder[F, I]

Attributes

Source
dsl.scala

Attributes

Source
dsl.scala

Attributes

Source
dsl.scala
def directive[A](name: String, arg: Arg[A]): Directive[A]

Attributes

Source
dsl.scala

Attributes

Source
dsl.scala
def enumType[A](name: String, hd: (String, EnumValue[_ <: A]), tl: (String, EnumValue[_ <: A])*): Enum[A]

Attributes

Source
dsl.scala
def enumVal[A](value: A): EnumValue[A]

Attributes

Source
dsl.scala
def fields[F[_], A](hd: (String, Field[F, A, _]), tl: (String, Field[F, A, _])*): Fields[F, A]

Attributes

Source
dsl.scala
def input[A](name: String, fields: Arg[A]): Input[A]

Attributes

Source
dsl.scala
def interface[F[_], A](name: String, hd: (String, AbstractField[F, _]), tl: (String, AbstractField[F, _])*): Interface[F, A]

Attributes

Source
dsl.scala
def interfaceFrom[F[_], A](name: String, hd: (String, Field[F, A, _]), tl: (String, Field[F, A, _])*): Interface[F, A]

Attributes

Source
dsl.scala
def interfaceFromNel[F[_], A](name: String, fields: Fields[F, A]): Interface[F, A]

Attributes

Source
dsl.scala
def interfaceNel[F[_], A](name: String, fields: AbstractFields[F]): Interface[F, A]

Attributes

Source
dsl.scala
def lift[F[_], I]: PartiallyAppliedLift[F, I]

Attributes

Source
dsl.scala
def onField[F[_], A](directive: Directive[A], handler: FieldHandler[F, A]): State[SchemaState[F], Field[F, A]]

Attributes

Source
dsl.scala
def onFragmentSpread[F[_], A](directive: Directive[A], handler: QueryHandler[FragmentSpread, A]): State[SchemaState[F], FragmentSpread[A]]

Attributes

Source
dsl.scala

Attributes

Source
dsl.scala
def optType[F[_], A, B](resolver: Resolver[F, A, B])(implicit tpe: => Out[F, B]): Out[F, Option[A]]

Attributes

Source
dsl.scala
def optType[A](implicit tpe: => In[A]): In[Option[A]]

Attributes

Source
dsl.scala
def tpe[F[_], A](name: String, hd: (String, Field[F, A, _]), tl: (String, Field[F, A, _])*): Type[F, A]

Attributes

Source
dsl.scala
def tpeNel[F[_], A](name: String, entries: Fields[F, A]): Type[F, A]

Attributes

Source
dsl.scala
def union[F[_], A](name: String): PartiallyAppliedUnion0[F, A]

Attributes

Source
dsl.scala

Implicits

Implicits

implicit def syntaxForBatchResolverSignature[F[_], K, V](resolver: Resolver[F, Set[K], Map[K, V]]): SyntaxForBatchResolverSignature[F, K, V]

Attributes

Source
dsl.scala
implicit def syntaxForFields[F[_], A](fields: Fields[F, A]): FieldsSyntax[F, A]

Attributes

Source
dsl.scala
implicit def syntaxForInterface[F[_], A](tpe: Interface[F, A]): InterfaceSyntax[F, A]

Attributes

Source
dsl.scala
implicit def syntaxForType[F[_], A](tpe: Type[F, A]): TypeSyntax[F, A]

Attributes

Source
dsl.scala
implicit def syntaxForUnion[F[_], A](tpe: Union[F, A]): UnionSyntax[F, A]

Attributes

Source
dsl.scala