Class GraphQLObjectType

java.lang.Object
graphql.schema.GraphQLObjectType
All Implemented Interfaces:
GraphQLCompositeType, GraphQLDirectiveContainer, GraphQLFieldsContainer, GraphQLImplementingType, GraphQLNamedOutputType, GraphQLNamedSchemaElement, GraphQLNamedType, GraphQLNullableType, GraphQLOutputType, GraphQLSchemaElement, GraphQLType, GraphQLUnmodifiedType

This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.

Those fields can themselves by object types and so on until you reach the leaf nodes of the type tree represented by GraphQLScalarTypes.

See https://graphql.org/learn/schema/#object-types-and-fields for more details on the concept.