TypeSyntax

gql.dsl$.TypeSyntax
final case class TypeSyntax[F[_], A](tpe: Type[F, A]) extends AnyVal

Attributes

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

Members list

Value members

Concrete methods

def addFields(xs: (String, Field[F, A, _])*): Type[F, A]

Attributes

Source
dsl.scala
def implements[B](pf: PartialFunction[B, A])(implicit interface: => Interface[F, B]): Type[F, A]

Attributes

Source
dsl.scala
def subtypeOf[B](implicit ev: A <:< B, tag: ClassTag[A], interface: => Interface[F, B]): Type[F, A]

Attributes

Source
dsl.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product