object Tree
- Source
- Tree.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tree
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
Api
(operations: Seq[Operation], interfaces: Seq[Interface], types: Seq[Type]) extends Product with Serializable
The API based on one or more GraphQL query documents using a given schema.
The API based on one or more GraphQL query documents using a given schema.
It includes only the operations, interfaces and input/output types referenced in the query documents.
- case class Enum (name: String, vaules: Seq[String]) extends Type with Product with Serializable
- case class Field (name: String, tpe: sangria.schema.Type, selection: Option[Selection] = None, union: Seq[UnionSelection] = Seq.empty) extends Tree with Product with Serializable
- case class Interface (name: String, fields: Seq[Field]) extends Type with Product with Serializable
- case class Object (name: String, fields: Seq[Field]) extends Type with Product with Serializable
-
case class
Operation
(name: Option[String], variables: Seq[Field], selection: Selection) extends Tree with Product with Serializable
Operations represent API calls and are the entry points to the API.
- case class Selection (fields: Seq[Field], interfaces: Seq[String] = Vector.empty) extends Tree with Product with Serializable
-
sealed
trait
Type
extends Tree
Marker trait for GraphQL input and output types.
- case class TypeAlias (name: String, tpe: String) extends Type with Product with Serializable
- case class Union (name: String, types: Seq[Object]) extends Type with Product with Serializable
- case class UnionSelection (tpe: ObjectType[_, _], selection: Selection) extends Tree with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Selection extends Serializable