Package graphql.schema.idl
package graphql.schema.idl
-
ClassDescriptionThis combines a number of
WiringFactory
s together to act as one.Info on all the directives provided by graphql specificationA wiring factory that will echo back the objects defined.Provides the Java runtime value for each graphql Enum value.AImmutableTypeDefinitionRegistry
contains an immutable set of type definitions that come from compiling a graphql schema definition file viaSchemaParser.parse(String)
and is more performant because it usesImmutableMap
structures.This is aWiringFactory
which provides mocked types resolver and scalars.NaturalEnumValuesProvider<T extends Enum<T>>Simple EnumValuesProvided which maps the GraphQL Enum name to the Java Enum instance.A runtime wiring is a specification of data fetchers, type resolvers and custom scalars that are needed to wire together a functionalGraphQLSchema
Info on all the standard scalar objects provided by graphql-javaA SchemaDirectiveWiring is responsible for enhancing a runtime element based on directives placed on that element in the Schema Definition Language (SDL).SchemaDirectiveWiring
is passed this object as parameters when it builds out behaviourThis can generate a working runtime schema from a type registry and runtime wiringThese options control how the schema generation worksThis contains the helper code that allowsSchemaDirectiveWiring
implementations to be invoked during schema generation.This class will track what orderSDLDefinition
were parsed in viaSchemaParser
andTypeDefinitionRegistry
This can take a graphql schema definition and parse it into aTypeDefinitionRegistry
of definitions ready to be placed intoSchemaGenerator
sayThis can print an in memory GraphQL schema back to a logical schema definitionOptions to use when printing a schemaThis helps pre check the state of the type system to ensure it can be made into an executable schema.ATypeDefinitionRegistry
contains the set of type definitions that come from compiling a graphql schema definition file viaSchemaParser.parse(String)
This helper gives you access to the type info given a type definitionA type runtime wiring is a specification of the data fetchers and possible type resolver for a given type name.This class consists ofstatic
utility methods for operating onType
.A WiringFactory allows you to more dynamically wire inTypeResolver
s andDataFetcher
s based on the IDL definitions.