Package graphql.schema.idl
Class SchemaGeneratorAppliedDirectiveHelper
- java.lang.Object
-
- graphql.schema.idl.SchemaGeneratorAppliedDirectiveHelper
-
class SchemaGeneratorAppliedDirectiveHelper extends java.lang.Object
This contains helper code to build out appliedm directives on schema element
-
-
Constructor Summary
Constructors Constructor Description SchemaGeneratorAppliedDirectiveHelper()
-
Method Summary
-
-
-
Method Detail
-
buildAppliedDirectives
static void buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, GraphqlDirectivesContainerTypeBuilder<?,?> builder, Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>> appliedDirectives)
-
buildAppliedDirectives
static Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>> buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, java.util.List<Directive> directives, java.util.List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, java.util.Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry)
-
buildAppliedDirective
private static Pair<GraphQLDirective,GraphQLAppliedDirective> buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, Directive directive, java.util.Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry)
-
buildDirectiveArg
private static GraphQLArgument buildDirectiveArg(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition)
-
buildAppliedArg
private static GraphQLAppliedDirectiveArgument buildAppliedArg(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition)
-
transferMissingArguments
private static java.util.List<GraphQLArgument> transferMissingArguments(SchemaGeneratorHelper.BuildContext buildCtx, java.util.List<GraphQLArgument> arguments, GraphQLDirective directiveDefinition)
-
transferMissingAppliedArguments
private static java.util.List<GraphQLAppliedDirectiveArgument> transferMissingAppliedArguments(java.util.List<GraphQLAppliedDirectiveArgument> arguments, GraphQLDirective directiveDefinition)
-
buildDirectiveDefinitionFromAst
static GraphQLDirective buildDirectiveDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, DirectiveDefinition directiveDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)
-
buildLocations
private static java.util.List<Introspection.DirectiveLocation> buildLocations(DirectiveDefinition directiveDefinition)
-
buildDirectiveArgumentDefinitionFromAst
static GraphQLArgument buildDirectiveArgumentDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)
-
buildDeprecationReason
static java.lang.String buildDeprecationReason(java.util.List<Directive> directives)
-
-