ObjectType

sangria.schema.ObjectType
See theObjectType companion class
object ObjectType

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ObjectType.type

Members list

Value members

Concrete methods

def apply[Ctx, Val : ClassTag](name: String, fields: List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, description: String, fields: List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, interfaces: List[PossibleInterface[Ctx, Val]], fields: List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, description: String, interfaces: List[PossibleInterface[Ctx, Val]], fields: List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, fieldsFn: () => List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, description: String, fieldsFn: () => List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, interfaces: List[PossibleInterface[Ctx, Val]], fieldsFn: () => List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def apply[Ctx, Val : ClassTag](name: String, description: String, interfaces: List[PossibleInterface[Ctx, Val]], fieldsFn: () => List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def createFromMacro[Ctx, Val : ClassTag](name: String, description: Option[String], interfaces: List[InterfaceType[Ctx, _]], fieldsFn: () => List[Field[Ctx, Val]]): ObjectType[Ctx, Val]
def defaultInstanceCheck[Ctx, Val]: (Any, Class[_], ObjectType[Ctx, Val]) => Boolean

Implicits

Implicits

implicit def acceptUnitCtx[Ctx, Val](objectType: ObjectType[Unit, Val]): ObjectType[Ctx, Val]