Types

object Types
class Object
trait Matchable
class Any

Value members

Concrete methods

def collectTypes(t: __Type, existingTypes: List[__Type]): List[__Type]

Returns a map of all the types nested within the given root type.

Returns a map of all the types nested within the given root type.

def listOf(t: __Type): Option[__Type]
def makeEnum(name: Option[String], description: Option[String], values: List[__EnumValue], origin: Option[String]): __Type
def makeInputObject(name: Option[String], description: Option[String], fields: List[__InputValue], origin: Option[String]): __Type
def makeInterface(name: Option[String], description: Option[String], fields: () => List[__Field], subTypes: List[__Type], origin: Option[String]): __Type
def makeList(underlying: __Type): __Type
def makeNonNull(underlying: __Type): __Type
def makeObject(name: Option[String], description: Option[String], fields: List[__Field], directives: List[Directive], origin: Option[String]): __Type
def makeScalar(name: String, description: Option[String]): __Type

Creates a new scalar type with the given name.

Creates a new scalar type with the given name.

def makeUnion(name: Option[String], description: Option[String], subTypes: List[__Type], origin: Option[String]): __Type
def name(t: __Type): String
@tailrec
def same(t1: __Type, t2: __Type): Boolean

Concrete fields

val int: __Type
val long: __Type