Package graphql.schema.idl
package graphql.schema.idl
-
ClassDescriptionClass to check whether a given directive argument value matches a given directive definition.This 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.A support class to help break up the large SchemaTypeChecker class.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 helper code to build out appliedm directives on schema elementThis contains the helper code that allowsSchemaDirectiveWiringimplementations to be invoked during schema generation.We pass this around so we know what we have defined in a stack like manner plus it gives us helper functionsDeprecated.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.This is responsible for traversing EVERY type and field in the registry and ensuring that any directives used follow the directive definition rules, for example field directives can be used on object typesA support class to help break up the large SchemaTypeChecker class.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.UnionType check, details in https://spec.graphql.org/June2018/#sec-Type-System.A WiringFactory allows you to more dynamically wire inTypeResolvers andDataFetchers based on the IDL definitions.
SchemaTransformerafter the schema is built