Package graphql.schema.idl
package graphql.schema.idl
-
ClassDescriptionThis combines a number of
WiringFactorys 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.AImmutableTypeDefinitionRegistrycontains an immutable set of type definitions that come from compiling a graphql schema definition file viaSchemaParser.parse(String)and is more performant because it usesImmutableMapstructures.This is aWiringFactorywhich 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 functionalGraphQLSchemaInfo 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).SchemaDirectiveWiringis 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 allowsSchemaDirectiveWiringimplementations to be invoked during schema generation.This class will track what orderSDLDefinitionwere parsed in viaSchemaParserandTypeDefinitionRegistryThis can take a graphql schema definition and parse it into aTypeDefinitionRegistryof definitions ready to be placed intoSchemaGeneratorsayThis 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.ATypeDefinitionRegistrycontains 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 ofstaticutility methods for operating onType.A WiringFactory allows you to more dynamically wire inTypeResolvers andDataFetchers based on the IDL definitions.