sangria.schema.ObjectType
See theObjectType companion object
case class ObjectType[Ctx, Val](name: String, description: Option[String], fieldsFn: () => List[Field[Ctx, Val]], interfaces: List[InterfaceType[Ctx, _]], instanceCheck: (Any, Class[_], ObjectType[Ctx, Val]) => Boolean, astDirectives: Vector[Directive], astNodes: Vector[AstNode])(implicit evidence$1: ClassTag[Val]) extends ObjectLikeType[Ctx, Val]
GraphQL schema object description.
Describes a type of object in a GraphQL schema that is presented by a Sangria server. Objects of the type contain fields and can be viewed as simply a container of fields—internal nodes in the tree of data that a GraphQL request returns. The data store operations take place at the level of the fields that are leaf nodes in that tree.
Constructing the internal nodes of a schema consists mostly of constructing instances of this class.
Value parameters
- description
-
A description of this schema element that can be presented to clients of the GraphQL service.
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HasAstInfotrait UnmodifiedTypetrait NullableTypetrait CompositeType[Val]trait Namedtrait HasDescriptiontrait OutputType[Val]trait Typeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Implicitly added by acceptUnitCtx
Implicitly added by acceptUnitCtx
Implicitly added by acceptUnitCtx
Implicitly added by acceptUnitCtx
Implicitly added by acceptUnitCtx
Inherited methods
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- Type
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Inherited fields
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
Implicitly added by acceptUnitCtx
Attributes
- Inherited from:
- ObjectLikeType
Attributes
- Inherited from:
- ObjectLikeType
In this article