TypeOps

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

Attributes

Source
TypeDsl.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

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

Attributes

Source
TypeDsl.scala
def addFieldsNel(xs: NonEmptyList[(String, Field[F, A, _])]): Type[F, A]

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
TypeDsl.scala