Uses of Class
graphql.schema.GraphQLDirective
Packages that use GraphQLDirective
Package
Description
-
Uses of GraphQLDirective in graphql
Fields in graphql declared as GraphQLDirectiveModifier and TypeFieldDescriptionstatic final GraphQLDirective
Directives.DeprecatedDirective
The "deprecated" directive is special and is always available in a graphql schemastatic final GraphQLDirective
Directives.IncludeDirective
static final GraphQLDirective
Directives.OneOfDirective
static final GraphQLDirective
Directives.SkipDirective
static final GraphQLDirective
Directives.SpecifiedByDirective
The "specifiedBy" directive allows to provide a specification URL for a ScalarFields in graphql with type parameters of type GraphQLDirectiveModifier and TypeFieldDescriptionprivate final List
<GraphQLDirective> DirectivesUtil.DirectivesHolder.allDirectives
private final com.google.common.collect.ImmutableMap
<String, List<GraphQLDirective>> DirectivesUtil.DirectivesHolder.allDirectivesByName
private final com.google.common.collect.ImmutableMap
<String, GraphQLDirective> DirectivesUtil.DirectivesHolder.nonRepeatableDirectivesByName
Methods in graphql that return GraphQLDirectiveModifier and TypeMethodDescriptionDirectivesUtil.DirectivesHolder.getDirective
(String directiveName) static GraphQLDirective
DirectivesUtil.getFirstDirective
(String name, Map<String, List<GraphQLDirective>> allDirectivesByName) Deprecated.Methods in graphql that return types with arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionstatic List
<GraphQLDirective> DirectivesUtil.add
(List<GraphQLDirective> targetList, GraphQLDirective newDirective) Deprecated.static List
<GraphQLDirective> DirectivesUtil.addAll
(List<GraphQLDirective> targetList, List<GraphQLDirective> newDirectives) Deprecated.static Map
<String, com.google.common.collect.ImmutableList<GraphQLDirective>> DirectivesUtil.allDirectivesByName
(List<GraphQLDirective> directives) Deprecated.com.google.common.collect.ImmutableMap
<String, List<GraphQLDirective>> DirectivesUtil.DirectivesHolder.getAllDirectivesByName()
DirectivesUtil.DirectivesHolder.getDirectives()
DirectivesUtil.DirectivesHolder.getDirectives
(String directiveName) com.google.common.collect.ImmutableMap
<String, GraphQLDirective> DirectivesUtil.DirectivesHolder.getDirectivesByName()
static Map
<String, GraphQLDirective> DirectivesUtil.nonRepeatableDirectivesByName
(List<GraphQLDirective> directives) Deprecated.Methods in graphql with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionstatic List
<GraphQLDirective> DirectivesUtil.add
(List<GraphQLDirective> targetList, GraphQLDirective newDirective) Deprecated.Method parameters in graphql with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionstatic List
<GraphQLDirective> DirectivesUtil.add
(List<GraphQLDirective> targetList, GraphQLDirective newDirective) Deprecated.static List
<GraphQLDirective> DirectivesUtil.addAll
(List<GraphQLDirective> targetList, List<GraphQLDirective> newDirectives) Deprecated.static Map
<String, com.google.common.collect.ImmutableList<GraphQLDirective>> DirectivesUtil.allDirectivesByName
(List<GraphQLDirective> directives) Deprecated.static Optional
<GraphQLArgument> DirectivesUtil.directiveWithArg
(List<GraphQLDirective> directives, String directiveName, String argumentName) Deprecated.static GraphQLDirective
DirectivesUtil.getFirstDirective
(String name, Map<String, List<GraphQLDirective>> allDirectivesByName) Deprecated.static boolean
DirectivesUtil.isAllNonRepeatable
(List<GraphQLDirective> directives) Deprecated.static Map
<String, GraphQLDirective> DirectivesUtil.nonRepeatableDirectivesByName
(List<GraphQLDirective> directives) Deprecated.Constructor parameters in graphql with type arguments of type GraphQLDirectiveModifierConstructorDescriptionDirectivesHolder
(Collection<GraphQLDirective> allDirectives, Collection<GraphQLAppliedDirective> allAppliedDirectives) -
Uses of GraphQLDirective in graphql.execution.directives
Fields in graphql.execution.directives with type parameters of type GraphQLDirectiveModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableMap
<Field, List<GraphQLDirective>> QueryDirectivesImpl.fieldDirectivesByField
private com.google.common.collect.ImmutableMap
<String, List<GraphQLDirective>> QueryDirectivesImpl.fieldDirectivesByName
Methods in graphql.execution.directives that return types with arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionQueryDirectives.getImmediateDirective
(String directiveName) Deprecated.QueryDirectivesImpl.getImmediateDirective
(String directiveName) QueryDirectives.getImmediateDirectivesByField()
Deprecated.- use theQueryAppliedDirective
methods insteadQueryDirectivesImpl.getImmediateDirectivesByField()
QueryDirectives.getImmediateDirectivesByName()
Deprecated.- use theQueryAppliedDirective
methods insteadQueryDirectivesImpl.getImmediateDirectivesByName()
DirectivesResolver.resolveDirectives
(List<Directive> directives, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) Methods in graphql.execution.directives with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate void
DirectivesResolver.buildArguments
(GraphQLDirective.Builder directiveBuilder, GraphQLCodeRegistry codeRegistry, GraphQLDirective protoType, Directive fieldDirective, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) private QueryAppliedDirective
QueryDirectivesImpl.toAppliedDirective
(GraphQLDirective directive) -
Uses of GraphQLDirective in graphql.introspection
Methods in graphql.introspection that return types with arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate List
<GraphQLDirective> IntrospectionWithDirectivesSupport.filterDirectives
(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, List<GraphQLDirective> directives) Method parameters in graphql.introspection with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate List
<GraphQLDirective> IntrospectionWithDirectivesSupport.filterDirectives
(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, List<GraphQLDirective> directives) -
Uses of GraphQLDirective in graphql.schema
Fields in graphql.schema with type parameters of type GraphQLDirectiveModifier and TypeFieldDescriptionprivate final Set
<GraphQLDirective> GraphQLSchema.Builder.additionalDirectives
protected final List
<GraphQLDirective> GraphqlDirectivesContainerTypeBuilder.directives
(package private) Set
<GraphQLDirective> SchemaTransformer.DummyRoot.directives
private final List
<GraphQLDirective> GraphQLSchema.Builder.schemaDirectives
(package private) Set
<GraphQLDirective> SchemaTransformer.DummyRoot.schemaDirectives
Methods in graphql.schema that return GraphQLDirectiveModifier and TypeMethodDescriptionGraphQLDirective.Builder.build()
GraphQLArgument.getDirective
(String directiveName) GraphQLDirectiveContainer.getDirective
(String directiveName) Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.getDirective
(String directiveName) GraphQLEnumValueDefinition.getDirective
(String directiveName) GraphQLFieldDefinition.getDirective
(String directiveName) GraphQLInputObjectField.getDirective
(String directiveName) GraphQLInputObjectType.getDirective
(String directiveName) GraphQLInterfaceType.getDirective
(String directiveName) GraphQLObjectType.getDirective
(String directiveName) GraphQLScalarType.getDirective
(String directiveName) GraphQLSchema.getDirective
(String directiveName) Returns a named directive that (for legacy reasons) will be only in the set of non repeatable directivesGraphQLUnionType.getDirective
(String directiveName) GraphQLSchema.getSchemaDirective
(String directiveName) Deprecated.Use theGraphQLAppliedDirective
methods insteadprivate static GraphQLDirective[]
GraphQLSchema.schemaDirectivesArray
(GraphQLSchema existingSchema) GraphQLDirective.transform
(Consumer<GraphQLDirective.Builder> builderConsumer) This helps you transform the current GraphQLDirective into another one by starting a builder with all the current values and allows you to transform it how you want.GraphQLDirective.withNewChildren
(SchemaElementChildrenContainer newChildren) Methods in graphql.schema that return types with arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionGraphQLArgument.getAllDirectivesByName()
GraphQLDirectiveContainer.getAllDirectivesByName()
Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.getAllDirectivesByName()
GraphQLEnumValueDefinition.getAllDirectivesByName()
GraphQLFieldDefinition.getAllDirectivesByName()
GraphQLInputObjectField.getAllDirectivesByName()
GraphQLInputObjectType.getAllDirectivesByName()
GraphQLInterfaceType.getAllDirectivesByName()
GraphQLObjectType.getAllDirectivesByName()
GraphQLScalarType.getAllDirectivesByName()
GraphQLUnionType.getAllDirectivesByName()
GraphQLSchema.getAllSchemaDirectivesByName()
Deprecated.Use theGraphQLAppliedDirective
methods insteadGraphQLArgument.getDirectives()
GraphQLDirectiveContainer.getDirectives()
Deprecated.- use theGraphQLAppliedDirective
methods insteaddefault List
<GraphQLDirective> GraphQLDirectiveContainer.getDirectives
(String directiveName) Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.getDirectives()
GraphQLEnumValueDefinition.getDirectives()
GraphQLFieldDefinition.getDirectives()
GraphQLInputObjectField.getDirectives()
GraphQLInputObjectType.getDirectives()
GraphQLInterfaceType.getDirectives()
GraphQLObjectType.getDirectives()
GraphQLScalarType.getDirectives()
GraphQLSchema.getDirectives()
This returns the list of directives definitions that are associated with this schema object including built in ones.GraphQLUnionType.getDirectives()
GraphQLArgument.getDirectivesByName()
GraphQLDirectiveContainer.getDirectivesByName()
Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.getDirectivesByName()
GraphQLEnumValueDefinition.getDirectivesByName()
GraphQLFieldDefinition.getDirectivesByName()
GraphQLInputObjectField.getDirectivesByName()
GraphQLInputObjectType.getDirectivesByName()
GraphQLInterfaceType.getDirectivesByName()
GraphQLObjectType.getDirectivesByName()
GraphQLScalarType.getDirectivesByName()
GraphQLSchema.getDirectivesByName()
GraphQLUnionType.getDirectivesByName()
GraphQLSchema.getSchemaDirectiveByName()
Deprecated.Use theGraphQLAppliedDirective
methods insteadGraphQLSchema.getSchemaDirectives()
Deprecated.Use theGraphQLAppliedDirective
methods insteadGraphQLSchema.getSchemaDirectives
(String directiveName) Deprecated.Use theGraphQLAppliedDirective
methods insteadMethods in graphql.schema with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionGraphQLSchema.Builder.additionalDirective
(GraphQLDirective additionalDirective) static GraphQLDirective.Builder
GraphQLDirective.newDirective
(GraphQLDirective existing) GraphQLTypeVisitor.visitGraphQLDirective
(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context) This method will be called twice.GraphQLTypeVisitorStub.visitGraphQLDirective
(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context) GraphQLArgument.Builder.withDirective
(GraphQLDirective directive) GraphqlDirectivesContainerTypeBuilder.withDirective
(GraphQLDirective directive) Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.Builder.withDirective
(GraphQLDirective directive) GraphQLEnumValueDefinition.Builder.withDirective
(GraphQLDirective directive) GraphQLFieldDefinition.Builder.withDirective
(GraphQLDirective directive) GraphQLInputObjectField.Builder.withDirective
(GraphQLDirective directive) GraphQLInputObjectType.Builder.withDirective
(GraphQLDirective directive) GraphQLInterfaceType.Builder.withDirective
(GraphQLDirective directive) GraphQLObjectType.Builder.withDirective
(GraphQLDirective directive) GraphQLScalarType.Builder.withDirective
(GraphQLDirective directive) GraphQLUnionType.Builder.withDirective
(GraphQLDirective directive) GraphQLArgument.Builder.withDirectives
(GraphQLDirective... directives) GraphqlDirectivesContainerTypeBuilder.withDirectives
(GraphQLDirective... directives) Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLEnumValueDefinition.Builder.withDirectives
(GraphQLDirective... directives) GraphQLFieldDefinition.Builder.withDirectives
(GraphQLDirective... directives) GraphQLInputObjectField.Builder.withDirectives
(GraphQLDirective... directives) GraphQLInputObjectType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLInterfaceType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLObjectType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLScalarType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLUnionType.Builder.withDirectives
(GraphQLDirective... directives) GraphQLSchema.Builder.withSchemaDirective
(GraphQLDirective directive) GraphQLSchema.Builder.withSchemaDirectives
(GraphQLDirective... directives) Method parameters in graphql.schema with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionGraphQLSchema.Builder.additionalDirectives
(Set<GraphQLDirective> additionalDirectives) private boolean
GraphQLInputObjectType.hasOneOf
(List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives) GraphQLArgument.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphqlDirectivesContainerTypeBuilder.replaceDirectives
(List<GraphQLDirective> directives) Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLEnumValueDefinition.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLFieldDefinition.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLInputObjectField.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLInputObjectType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLInterfaceType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLObjectType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLScalarType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLUnionType.Builder.replaceDirectives
(List<GraphQLDirective> directives) GraphQLSchema.Builder.withSchemaDirectives
(Collection<? extends GraphQLDirective> directives) Constructors in graphql.schema with parameters of type GraphQLDirectiveConstructor parameters in graphql.schema with type arguments of type GraphQLDirectiveModifierConstructorDescriptionprivate
GraphQLArgument
(String name, String description, GraphQLInputType type, InputValueWithState defaultValue, InputValueWithState value, InputValueDefinition definition, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, String deprecationReason) private
GraphQLEnumValueDefinition
(String name, String description, Object value, String deprecationReason, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, EnumValueDefinition definition) private
GraphQLInputObjectField
(String name, String description, GraphQLInputType type, InputValueWithState defaultValue, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, InputValueDefinition definition, String deprecationReason) private
GraphQLScalarType
(String name, String description, Coercing<?, ?> coercing, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, ScalarTypeDefinition definition, List<ScalarTypeExtensionDefinition> extensionDefinitions, String specifiedByUrl) -
Uses of GraphQLDirective in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate void
SchemaGraphFactory.newDirective
(GraphQLDirective directive, SchemaGraph schemaGraph) Method parameters in graphql.schema.diffing with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate void
SchemaGraphFactory.createAppliedDirectives
(Vertex from, List<GraphQLDirective> appliedDirectives, SchemaGraph schemaGraph) -
Uses of GraphQLDirective in graphql.schema.idl
Fields in graphql.schema.idl declared as GraphQLDirectiveModifier and TypeFieldDescriptionprivate final GraphQLDirective
SchemaDirectiveWiringEnvironmentImpl.registeredDirective
Fields in graphql.schema.idl with type parameters of type GraphQLDirectiveModifier and TypeFieldDescriptionprivate final List
<GraphQLDirective> FieldWiringEnvironment.directives
private final Map
<String, GraphQLDirective> SchemaDirectiveWiringEnvironmentImpl.directives
private final Set
<GraphQLDirective> SchemaGeneratorHelper.BuildContext.directives
static final Map
<String, GraphQLDirective> DirectiveInfo.GRAPHQL_SPECIFICATION_DIRECTIVE_MAP
A map from directive name to directive which provided by specificationstatic final Set
<GraphQLDirective> DirectiveInfo.GRAPHQL_SPECIFICATION_DIRECTIVES
A set of directives which provided by graphql specificationMethods in graphql.schema.idl that return GraphQLDirectiveModifier and TypeMethodDescription(package private) static GraphQLDirective
SchemaGeneratorAppliedDirectiveHelper.buildDirectiveDefinitionFromAst
(SchemaGeneratorHelper.BuildContext buildCtx, DirectiveDefinition directiveDefinition, Function<Type<?>, GraphQLInputType> inputTypeFactory) SchemaDirectiveWiringEnvironment.getDirective()
Deprecated.SchemaDirectiveWiringEnvironment.getDirective
(String directiveName) Deprecated.SchemaDirectiveWiringEnvironmentImpl.getDirective()
SchemaDirectiveWiringEnvironmentImpl.getDirective
(String directiveName) Methods in graphql.schema.idl that return types with arguments of type GraphQLDirectiveModifier and TypeMethodDescription(package private) Set
<GraphQLDirective> SchemaGeneratorHelper.buildAdditionalDirectiveDefinitions
(SchemaGeneratorHelper.BuildContext buildCtx) private static Pair
<GraphQLDirective, GraphQLAppliedDirective> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirective
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, Directive directive, Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static Pair
<List<GraphQLDirective>, List<GraphQLAppliedDirective>> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, List<Directive> directives, List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry) SchemaPrinter.directivePrinter()
FieldWiringEnvironment.getDirectives()
SchemaDirectiveWiringEnvironment.getDirectives()
Deprecated.SchemaDirectiveWiringEnvironmentImpl.getDirectives()
SchemaGeneratorHelper.BuildContext.getDirectives()
private List
<GraphQLDirective> SchemaPrinter.getSchemaDirectives
(GraphQLSchema schema) Methods in graphql.schema.idl with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionvoid
SchemaGeneratorHelper.BuildContext.addDirectiveDefinition
(GraphQLDirective directive) SchemaGeneratorDirectiveHelper.EnvBuilder.apply
(T outputElement, List<GraphQLDirective> allDirectives, List<GraphQLAppliedDirective> allAppliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective) private static GraphQLAppliedDirectiveArgument
SchemaGeneratorAppliedDirectiveHelper.buildAppliedArg
(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition) private static GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper.buildDirectiveArg
(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition) private String
SchemaPrinter.directiveDefinition
(GraphQLDirective directive) static boolean
DirectiveInfo.isGraphqlSpecifiedDirective
(GraphQLDirective graphQLDirective) Returns true if the provided directive has been defined in graphql specificationSchemaPrinter.print
(GraphQLDirective graphQLDirective) private static List
<GraphQLAppliedDirectiveArgument> SchemaGeneratorAppliedDirectiveHelper.transferMissingAppliedArguments
(List<GraphQLAppliedDirectiveArgument> arguments, GraphQLDirective directiveDefinition) private static List
<GraphQLArgument> SchemaGeneratorAppliedDirectiveHelper.transferMissingArguments
(SchemaGeneratorHelper.BuildContext buildCtx, List<GraphQLArgument> arguments, GraphQLDirective directiveDefinition) Method parameters in graphql.schema.idl with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionvoid
SchemaGeneratorHelper.BuildContext.addDirectives
(Set<GraphQLDirective> directives) SchemaGeneratorDirectiveHelper.EnvBuilder.apply
(T outputElement, List<GraphQLDirective> allDirectives, List<GraphQLAppliedDirective> allAppliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective) private static Pair
<GraphQLDirective, GraphQLAppliedDirective> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirective
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, Directive directive, Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static void
SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives
(SchemaGeneratorHelper.BuildContext buildCtx, GraphqlDirectivesContainerTypeBuilder<?, ?> builder, Pair<List<GraphQLDirective>, List<GraphQLAppliedDirective>> appliedDirectives) (package private) static Pair
<List<GraphQLDirective>, List<GraphQLAppliedDirective>> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, List<Directive> directives, List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry) private DataFetcherFactory
<?> SchemaGeneratorHelper.buildDataFetcherFactory
(SchemaGeneratorHelper.BuildContext buildCtx, TypeDefinition<?> parentType, FieldDefinition fieldDef, GraphQLOutputType fieldType, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives) private <T extends GraphQLDirectiveContainer>
TSchemaGeneratorDirectiveHelper.wireDirectives
(SchemaGeneratorDirectiveHelper.Parameters parameters, T element, List<GraphQLDirective> allDirectives, List<GraphQLAppliedDirective> allAppliedDirectives, SchemaGeneratorDirectiveHelper.EnvBuilder<T> envBuilder, SchemaGeneratorDirectiveHelper.EnvInvoker<T> invoker) Constructors in graphql.schema.idl with parameters of type GraphQLDirectiveModifierConstructorDescriptionSchemaDirectiveWiringEnvironmentImpl
(T element, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective, SchemaGeneratorDirectiveHelper.Parameters parameters) Constructor parameters in graphql.schema.idl with type arguments of type GraphQLDirectiveModifierConstructorDescription(package private)
FieldWiringEnvironment
(TypeDefinitionRegistry registry, TypeDefinition parentType, FieldDefinition fieldDefinition, GraphQLOutputType fieldType, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives) SchemaDirectiveWiringEnvironmentImpl
(T element, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective, SchemaGeneratorDirectiveHelper.Parameters parameters) -
Uses of GraphQLDirective in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionMultiReadOnlyGraphQLTypeVisitor.visitGraphQLDirective
(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLDirective in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate void
AppliedDirectiveArgumentsAreValid.checkArgument
(GraphQLDirective directive, GraphQLArgument argument, TraverserContext<GraphQLSchemaElement> context) private void
AppliedDirectivesAreValid.checkNonRepeatable
(SchemaValidationErrorCollector collector, GraphQLDirectiveContainer directiveContainer, GraphQLDirective directiveDef, List<GraphQLDirective> directives) AppliedDirectiveArgumentsAreValid.visitGraphQLDirective
(GraphQLDirective directive, TraverserContext<GraphQLSchemaElement> context) Method parameters in graphql.schema.validation with type arguments of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate void
AppliedDirectivesAreValid.checkNonRepeatable
(SchemaValidationErrorCollector collector, GraphQLDirectiveContainer directiveContainer, GraphQLDirective directiveDef, List<GraphQLDirective> directives) -
Uses of GraphQLDirective in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptiondefault GraphQLSchemaTraversalControl
GraphQLSchemaVisitor.visitDirective
(GraphQLDirective directive, GraphQLSchemaVisitor.DirectiveVisitorEnvironment environment) Called when visiting aGraphQLArgument
in the schemaGraphQLSchemaVisitorAdapter.visitGraphQLDirective
(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLDirective in graphql.validation
Fields in graphql.validation declared as GraphQLDirectiveMethods in graphql.validation that return GraphQLDirectiveModifier and TypeMethodDescriptionTraversalContext.getDirective()
ValidationContext.getDirective()
-
Uses of GraphQLDirective in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type GraphQLDirectiveModifier and TypeMethodDescriptionprivate boolean
KnownDirectives.hasInvalidLocation
(GraphQLDirective directive, Node ancestor)
QueryAppliedDirective
methods instead