Uses of Package
graphql.schema
Packages that use graphql.schema
Package
Description
-
Classes in graphql.schema used by graphqlClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputThis class allows you to retrieve the selection set of fields that have been asked for when theDataFetcher
was invoked.An applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionThis defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A type inside the GraphQLSchema. -
Classes in graphql.schema used by graphql.analysisClassDescriptionThis defines an argument that can be supplied to a graphql field (via
GraphQLFieldDefinition
.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Named schema elements that contain input type information.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.The schema represents the combined type system of the graphql engine. -
Classes in graphql.schema used by graphql.analysis.valuesClassDescriptionA DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputThis represents the argument values that can be placed on anGraphQLAppliedDirective
.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Input objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.A schema element that is concerned with input.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Named schema elements that contain input type information.A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.A scalar type is a leaf node in the graphql tree of types. -
Classes in graphql.schema used by graphql.executionClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputThis class allows you to retrieve the selection set of fields that have been asked for when theDataFetcher
was invoked.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.TheGraphQLCodeRegistry
holds that execution code that is associated with graphql types, namely theDataFetcher
s associated with fields, theTypeResolver
s associated with abstract types and theGraphqlFieldVisibility
A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Input objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A modified type that indicates there the underlying wrapped type will not be null.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A type inside the GraphQLSchema.A union type is a polymorphic type that dynamically represents one of more concrete object types.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states.This is called during type resolution to work out what concreteGraphQLObjectType
should be used dynamically during runtime forGraphQLInterfaceType
s andGraphQLUnionType
s -
Classes in graphql.schema used by graphql.execution.conditionalClassDescriptionThe schema represents the combined type system of the graphql engine.
-
Classes in graphql.schema used by graphql.execution.directivesClassDescriptionThis defines an argument that can be supplied to a graphql field (via
GraphQLFieldDefinition
.TheGraphQLCodeRegistry
holds that execution code that is associated with graphql types, namely theDataFetcher
s associated with fields, theTypeResolver
s associated with abstract types and theGraphqlFieldVisibility
A directive can be used to modify the behavior of a graphql field or type.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.The schema represents the combined type system of the graphql engine.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states. -
Classes in graphql.schema used by graphql.execution.instrumentationClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.The schema represents the combined type system of the graphql engine.
-
Classes in graphql.schema used by graphql.execution.instrumentation.dataloaderClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.
-
Classes in graphql.schema used by graphql.execution.instrumentation.fieldvalidationClassDescriptionFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and the
DataFetcher
used to get data values for that field. -
Classes in graphql.schema used by graphql.execution.instrumentation.parametersClassDescriptionA DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.The schema represents the combined type system of the graphql engine. -
Classes in graphql.schema used by graphql.execution.instrumentation.threadpoolsClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field input -
Classes in graphql.schema used by graphql.execution.instrumentation.tracingClassDescriptionA DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field input -
Classes in graphql.schema used by graphql.execution.valuesClassDescriptionInput types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed to
GraphQLOutputType
s which can only be used as graphql response output. -
Classes in graphql.schema used by graphql.execution.values.legacycoercingClassDescriptionInput types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed to
GraphQLOutputType
s which can only be used as graphql response output. -
Classes in graphql.schema used by graphql.introspectionClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A field in graphql is uniquely located within a parent type and hence code elements like
DataFetcher
need to be specified using those coordinates.An applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionA directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceInput types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.A GraphQLType which is also a named element, which means it has a getName() method.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.The schema represents the combined type system of the graphql engine.A type inside the GraphQLSchema.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states. -
Classes in graphql.schema used by graphql.languageClassDescriptionA GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.
-
Classes in graphql.schema used by graphql.normalizedClassDescriptionA field in graphql is uniquely located within a parent type and hence code elements like
DataFetcher
need to be specified using those coordinates.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceIn graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.The schema represents the combined type system of the graphql engine. -
Classes in graphql.schema used by graphql.relayClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A DataFetchingEnvironment instance of passed to a
DataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputThis defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Input objects defined viaGraphQLInputObjectType
contains these input fields.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.This is called during type resolution to work out what concreteGraphQLObjectType
should be used dynamically during runtime forGraphQLInterfaceType
s andGraphQLUnionType
s -
Classes in graphql.schema used by graphql.scalarClassDescriptionThe Coercing interface is used by
GraphQLScalarType
s to parse and serialize object values. -
Classes in graphql.schema used by graphql.schemaClassDescriptionA modifier type that indicates the underlying data fetcher is run asynchronouslyThe Coercing interface is used by
GraphQLScalarType
s to parse and serialize object values.A data fetcher is responsible for returning a data value back for a given graphql field.A DataFetcherFactory allows a level of indirection in providingDataFetcher
s for graphql fields.This is passed to aDataFetcherFactory
when it is invoked to get aDataFetcher
A DataFetchingEnvironment instance of passed to aDataFetcher
as a execution context and its the place where you can find out information to help you resolve a data value given a graphql field inputThis class allows you to retrieve the selection set of fields that have been asked for when theDataFetcher
was invoked.Associates aComparator
with aGraphqlTypeComparatorEnvironment
to control the scope in which theComparator
can be applied.A field in graphql is uniquely located within a parent type and hence code elements likeDataFetcher
need to be specified using those coordinates.An applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionThis represents the argument values that can be placed on anGraphQLAppliedDirective
.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.TheGraphQLCodeRegistry
holds that execution code that is associated with graphql types, namely theDataFetcher
s associated with fields, theTypeResolver
s associated with abstract types and theGraphqlFieldVisibility
A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.This represents a hierarchy an graphql runtime element upwards to its associated parent elements.A graphql enumeration type has a limited set of values.A graphql enumeration type has a limited set of values and this defines one of those unique valuesFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceA GraphQLType which can implement interfacesTypes that can contain input fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.A schema element that is concerned with input.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Named schema elements that contain input type information.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.A modified type wraps another graphql type and modifies it behaviorInput types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A Schema element which has a name and also a description and AST Node which it is based on.A GraphQLType which is also a named element, which means it has a getName() method.A modified type that indicates there the underlying wrapped type will not be null.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.A type inside the GraphQLSchema.Defines the scope to control where the registeredComparator
can be applied.A special type to allow a object/interface types to reference itself.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience.A union type is a polymorphic type that dynamically represents one of more concrete object types.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states.ALightDataFetcher
is a specialised version ofDataFetcher
that is passed more lightweight arguments when it is asked to fetch values.This is the default data fetcher used in graphql-java, and it will examine maps, records and POJO java beans for values that match the desired name, typically the field name, or it will use a provided function to obtain values.A re-usable class that can fetch from POJOsASelectedField
represents a field that occurred in a query selection set during execution and they are returned from using theDataFetchingFieldSelectionSet
interface returned viaDataFetchingEnvironment.getSelectionSet()
This is called during type resolution to work out what concreteGraphQLObjectType
should be used dynamically during runtime forGraphQLInterfaceType
s andGraphQLUnionType
s -
Classes in graphql.schema used by graphql.schema.diffClassDescriptionThe schema represents the combined type system of the graphql engine.
-
Classes in graphql.schema used by graphql.schema.diffingClassDescriptionThis defines an argument that can be supplied to a graphql field (via
GraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Input objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A union type is a polymorphic type that dynamically represents one of more concrete object types. -
Classes in graphql.schema used by graphql.schema.diffing.anaClassDescriptionThe schema represents the combined type system of the graphql engine.
-
Classes in graphql.schema used by graphql.schema.idlClassDescriptionA data fetcher is responsible for returning a data value back for a given graphql field.A DataFetcherFactory allows a level of indirection in providing
DataFetcher
s for graphql fields.An applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionThis represents the argument values that can be placed on anGraphQLAppliedDirective
.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.TheGraphQLCodeRegistry
holds that execution code that is associated with graphql types, namely theDataFetcher
s associated with fields, theTypeResolver
s associated with abstract types and theGraphqlFieldVisibility
A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.This represents a hierarchy an graphql runtime element upwards to its associated parent elements.A graphql enumeration type has a limited set of values.A graphql enumeration type has a limited set of values and this defines one of those unique valuesFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A Schema element which has a name and also a description and AST Node which it is based on.A GraphQLType which is also a named element, which means it has a getName() method.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.A type inside the GraphQLSchema.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience.A union type is a polymorphic type that dynamically represents one of more concrete object types.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states.This is called during type resolution to work out what concreteGraphQLObjectType
should be used dynamically during runtime forGraphQLInterfaceType
s andGraphQLUnionType
s -
Classes in graphql.schema used by graphql.schema.implClassDescriptionAn applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionThis represents the argument values that can be placed on an
GraphQLAppliedDirective
.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.A graphql enumeration type has a limited set of values.A graphql enumeration type has a limited set of values and this defines one of those unique valuesFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceA GraphQLType which can implement interfacesTypes that can contain input fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.A modified type wraps another graphql type and modifies it behaviorA GraphQLType which is also a named element, which means it has a getName() method.A modified type that indicates there the underlying wrapped type will not be null.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.A type inside the GraphQLSchema.A special type to allow a object/interface types to reference itself.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience.A union type is a polymorphic type that dynamically represents one of more concrete object types. -
Classes in graphql.schema used by graphql.schema.transformClassDescriptionFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and the
DataFetcher
used to get data values for that field.Input objects defined viaGraphQLInputObjectType
contains these input fields.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.A Schema element which has a name and also a description and AST Node which it is based on.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.A type inside the GraphQLSchema.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience. -
Classes in graphql.schema used by graphql.schema.usageClassDescriptionA Schema element which has a name and also a description and AST Node which it is based on.The schema represents the combined type system of the graphql engine.
-
Classes in graphql.schema used by graphql.schema.validationClassDescriptionThis defines an argument that can be supplied to a graphql field (via
GraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceA GraphQLType which can implement interfacesInput objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.A GraphQLType which is also a named element, which means it has a getName() method.A modified type that indicates there the underlying wrapped type will not be null.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.A type inside the GraphQLSchema.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience.A union type is a polymorphic type that dynamically represents one of more concrete object types. -
Classes in graphql.schema used by graphql.schema.visibilityClassDescriptionFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and the
DataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceTypes that can contain input fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields. -
Classes in graphql.schema used by graphql.schema.visitorClassDescriptionAn applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionThis represents the argument values that can be placed on an
GraphQLAppliedDirective
.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.A graphql enumeration type has a limited set of values.A graphql enumeration type has a limited set of values and this defines one of those unique valuesFields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceInput objects defined viaGraphQLInputObjectType
contains these input fields.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A Schema element which has a name and also a description and AST Node which it is based on.This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A GraphQLSchema can be viewed as a graph of GraphQLSchemaElement.GraphQLTypeVisitor can be used to visit all the elements of a schema (types, fields, directives and so on) in a visitor pattern.Base implementation ofGraphQLTypeVisitor
for convenience.A union type is a polymorphic type that dynamically represents one of more concrete object types. -
Classes in graphql.schema used by graphql.utilClassDescriptionThis defines an argument that can be supplied to a graphql field (via
GraphQLFieldDefinition
.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.A GraphQLType which can implement interfacesInput types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.A Schema element which has a name and also a description and AST Node which it is based on.The schema represents the combined type system of the graphql engine.A type inside the GraphQLSchema. -
Classes in graphql.schema used by graphql.validationClassDescriptionThe Coercing interface is used by
GraphQLScalarType
s to parse and serialize object values.This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.A directive can be used to modify the behavior of a graphql field or type.A graphql enumeration type has a limited set of values.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.A scalar type is a leaf node in the graphql tree of types.The schema represents the combined type system of the graphql engine.A type inside the GraphQLSchema.Used by @GraphQLArgument
andGraphQLInputObjectField
to represent different value states. -
Classes in graphql.schema used by graphql.validation.rulesClassDescriptionA directive can be used to modify the behavior of a graphql field or type.Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and the
DataFetcher
used to get data values for that field.Types that can contain output fields are marked with this interfaceA type inside the GraphQLSchema.