UnionOps

gql.dsl.UnionDsl$.UnionOps
final case class UnionOps[F[_], A](u: Union[F, A]) extends AnyVal

Attributes

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

Members list

Value members

Concrete methods

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

Attributes

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

Attributes

Source
UnionDsl.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product