Packages

case class UnionType[Ctx](name: String, description: Option[String] = None, typesFn: () => List[ObjectType[Ctx, _]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends OutputType[Any] with CompositeType[Any] with AbstractType with NullableType with UnmodifiedType with HasAstInfo with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnionType
  2. Serializable
  3. Product
  4. Equals
  5. HasAstInfo
  6. UnmodifiedType
  7. NullableType
  8. AbstractType
  9. CompositeType
  10. Named
  11. HasDescription
  12. OutputType
  13. Type
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnionType(name: String, description: Option[String] = None, typesFn: () => List[ObjectType[Ctx, _]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val astDirectives: Vector[ast.Directive]
    Definition Classes
    UnionTypeHasAstInfo
  6. val astNodes: Vector[AstNode]
    Definition Classes
    UnionTypeHasAstInfo
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val description: Option[String]
    Definition Classes
    UnionTypeHasDescription
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapValue[T](func: (T) => Any): OutputType[T]

    Creates a type-safe version of union type which might be useful in cases where the value is wrapped in a type like Either.

  14. val name: String
    Definition Classes
    UnionTypeAbstractTypeNamed
  15. def namedType: Type with Named
    Definition Classes
    Type
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. def rename(newName: String): UnionType.this.type
    Definition Classes
    UnionTypeNamed
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toAst: TypeDefinition
  23. def typeOf[Ctx](value: Any, schema: Schema[Ctx, _]): Option[ObjectType[Ctx, _]]
    Definition Classes
    AbstractType
  24. lazy val types: List[ObjectType[Ctx, _]]
  25. val typesFn: () => List[ObjectType[Ctx, _]]
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasAstInfo

Inherited from UnmodifiedType

Inherited from NullableType

Inherited from AbstractType

Inherited from CompositeType[Any]

Inherited from Named

Inherited from HasDescription

Inherited from OutputType[Any]

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped