ObjectLikeType

sangria.schema.ObjectLikeType
sealed trait ObjectLikeType[Ctx, Val] extends OutputType[Val], CompositeType[Val], NullableType, UnmodifiedType, Named, HasAstInfo

Attributes

Graph
Supertypes
trait HasAstInfo
trait NullableType
trait CompositeType[Val]
trait Named
trait OutputType[Val]
trait Type
class Object
trait Matchable
class Any
Show all
Known subtypes
class InterfaceType[Ctx, Val]
class ObjectType[Ctx, Val]

Members list

Value members

Abstract methods

def fieldsFn: () => List[Field[Ctx, Val]]
def interfaces: List[InterfaceType[Ctx, _]]

Concrete methods

def getField(schema: Schema[_, _], fieldName: String): Vector[Field[Ctx, _]]

Inherited methods

Attributes

Inherited from:
HasAstInfo

Attributes

Inherited from:
HasAstInfo

A description of this schema element that can be presented to clients of the GraphQL service.

A description of this schema element that can be presented to clients of the GraphQL service.

Attributes

Inherited from:
HasDescription
def name: String

Attributes

Inherited from:
Named

Attributes

Inherited from:
Type
def rename(newName: String): Named.this.type

Attributes

Inherited from:
Named

Concrete fields

lazy val allInterfaces: Vector[InterfaceType[Ctx, _]]
lazy val fields: Vector[Field[Ctx, _]]
lazy val fieldsByName: Map[String, Vector[Field[Ctx, _]]]
lazy val ownFields: Vector[Field[Ctx, Val]]
lazy val uniqueFields: Vector[Field[Ctx, _]]