UnionSyntax

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

Attributes

Source:
dsl.scala
Graph
Supertypes
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def subtype[B : ClassTag](implicit evidence$10: ClassTag[B], ev: B <:< A, innerTpe: => Type[F, B]): Union[F, A]

Attributes

Source:
dsl.scala
def variant[B](pf: PartialFunction[A, B])(implicit innerTpe: => Type[F, B]): Union[F, A]

Attributes

Source:
dsl.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product