Uses of Class
graphql.schema.GraphQLArgument
-
-
Uses of GraphQLArgument in graphql
Methods in graphql that return types with arguments of type GraphQLArgument Modifier and Type Method Description static java.util.Optional<GraphQLArgument>
DirectivesUtil. directiveWithArg(java.util.List<GraphQLDirective> directives, java.lang.String directiveName, java.lang.String argumentName)
Deprecated. -
Uses of GraphQLArgument in graphql.analysis
Fields in graphql.analysis declared as GraphQLArgument Modifier and Type Field Description private GraphQLArgument
QueryVisitorFieldArgumentEnvironmentImpl. graphQLArgument
private GraphQLArgument
QueryVisitorFieldArgumentValueEnvironmentImpl. graphQLArgument
Methods in graphql.analysis that return GraphQLArgument Modifier and Type Method Description GraphQLArgument
QueryVisitorFieldArgumentEnvironment. getGraphQLArgument()
GraphQLArgument
QueryVisitorFieldArgumentEnvironmentImpl. getGraphQLArgument()
GraphQLArgument
QueryVisitorFieldArgumentValueEnvironment. getGraphQLArgument()
GraphQLArgument
QueryVisitorFieldArgumentValueEnvironmentImpl. getGraphQLArgument()
Methods in graphql.analysis with parameters of type GraphQLArgument Modifier and Type Method Description (package private) static QueryVisitorFieldArgumentInputValue
QueryVisitorFieldArgumentInputValueImpl. incompleteArgumentInputValue(GraphQLArgument graphQLArgument)
Constructors in graphql.analysis with parameters of type GraphQLArgument Constructor Description QueryVisitorFieldArgumentEnvironmentImpl(GraphQLFieldDefinition fieldDefinition, Argument argument, GraphQLArgument graphQLArgument, java.lang.Object argumentValue, java.util.Map<java.lang.String,java.lang.Object> variables, QueryVisitorFieldEnvironment parentEnvironment, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorFieldArgumentValueEnvironmentImpl(GraphQLSchema schema, GraphQLFieldDefinition fieldDefinition, GraphQLArgument graphQLArgument, QueryVisitorFieldArgumentInputValue argumentInputValue, TraverserContext<Node> traverserContext, java.util.Map<java.lang.String,java.lang.Object> variables)
-
Uses of GraphQLArgument in graphql.analysis.values
Methods in graphql.analysis.values with parameters of type GraphQLArgument Modifier and Type Method Description default @Nullable java.lang.Object
ValueVisitor. visitArgumentValue(@Nullable java.lang.Object coercedValue, GraphQLArgument graphQLArgument, ValueVisitor.InputElements inputElements)
This is called when aGraphQLArgument
is encounteredstatic java.lang.Object
ValueTraverser. visitPreOrder(java.lang.Object coercedArgumentValue, GraphQLArgument argument, ValueVisitor visitor)
This will visit a single argument of aGraphQLArgument
and if the visitor changes the value, it will return a new argument value -
Uses of GraphQLArgument in graphql.execution
Method parameters in graphql.execution with type arguments of type GraphQLArgument Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
ValuesResolver. getArgumentValues(GraphQLCodeRegistry codeRegistry, java.util.List<GraphQLArgument> argumentTypes, java.util.List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
static java.util.Map<java.lang.String,java.lang.Object>
ValuesResolver. getArgumentValues(java.util.List<GraphQLArgument> argumentTypes, java.util.List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
This is not used for validation: the argument literals are all validated and the variables are validated (when coerced)private static java.util.Map<java.lang.String,java.lang.Object>
ValuesResolver. getArgumentValuesImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, java.util.List<GraphQLArgument> argumentTypes, java.util.List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
static java.util.Map<java.lang.String,NormalizedInputValue>
ValuesResolver. getNormalizedArgumentValues(java.util.List<GraphQLArgument> argumentTypes, java.util.List<Argument> arguments, java.util.Map<java.lang.String,NormalizedInputValue> normalizedVariables)
No validation as the arguments are assumed validConstructors in graphql.execution with parameters of type GraphQLArgument Constructor Description NonNullableValueCoercedAsNullException(GraphQLArgument graphQLArgument)
-
Uses of GraphQLArgument in graphql.execution.directives
Methods in graphql.execution.directives with parameters of type GraphQLArgument Modifier and Type Method Description private QueryAppliedDirectiveArgument
QueryDirectivesImpl. toAppliedArgument(GraphQLArgument argument)
-
Uses of GraphQLArgument in graphql.relay
Methods in graphql.relay that return types with arguments of type GraphQLArgument Modifier and Type Method Description java.util.List<GraphQLArgument>
Relay. getBackwardPaginationConnectionFieldArguments()
java.util.List<GraphQLArgument>
Relay. getConnectionFieldArguments()
java.util.List<GraphQLArgument>
Relay. getForwardPaginationConnectionFieldArguments()
-
Uses of GraphQLArgument in graphql.schema
Fields in graphql.schema with type parameters of type GraphQLArgument Modifier and Type Field Description private com.google.common.collect.ImmutableList<GraphQLArgument>
GraphQLDirective. arguments
private java.util.Map<java.lang.String,GraphQLArgument>
GraphQLDirective.Builder. arguments
private com.google.common.collect.ImmutableList<GraphQLArgument>
GraphQLFieldDefinition. arguments
private java.util.Map<java.lang.String,GraphQLArgument>
GraphQLFieldDefinition.Builder. arguments
Methods in graphql.schema that return GraphQLArgument Modifier and Type Method Description GraphQLArgument
GraphQLArgument.Builder. build()
GraphQLArgument
GraphQLDirective. getArgument(java.lang.String name)
GraphQLArgument
GraphQLFieldDefinition. getArgument(java.lang.String name)
GraphQLArgument
GraphQLArgument. transform(java.util.function.Consumer<GraphQLArgument.Builder> builderConsumer)
This helps you transform the current GraphQLArgument into another one by starting a builder with all the current values and allows you to transform it how you want.GraphQLArgument
GraphQLArgument. withNewChildren(SchemaElementChildrenContainer newChildren)
Methods in graphql.schema that return types with arguments of type GraphQLArgument Modifier and Type Method Description java.util.List<GraphQLArgument>
GraphQLDirective. getArguments()
java.util.List<GraphQLArgument>
GraphQLFieldDefinition. getArguments()
Methods in graphql.schema with parameters of type GraphQLArgument Modifier and Type Method Description GraphQLDirective.Builder
GraphQLDirective.Builder. argument(GraphQLArgument argument)
GraphQLFieldDefinition.Builder
GraphQLFieldDefinition.Builder. argument(GraphQLArgument argument)
static <T> T
GraphQLArgument. getArgumentDefaultValue(GraphQLArgument argument)
This static helper method will give out a java value based on the semantics captured in theInputValueWithState
fromgetArgumentDefaultValue()
Note : You MUST only call this on aGraphQLArgument
that is part of a fully formed schema.static <T> T
GraphQLArgument. getArgumentValue(GraphQLArgument argument)
Deprecated.useGraphQLAppliedDirectiveArgument
insteadstatic GraphQLArgument.Builder
GraphQLArgument. newArgument(GraphQLArgument existing)
TraversalControl
GraphQLTypeResolvingVisitor.TypeRefResolvingVisitor. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeVisitor. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeVisitorStub. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
Method parameters in graphql.schema with type arguments of type GraphQLArgument Modifier and Type Method Description GraphQLFieldDefinition.Builder
GraphQLFieldDefinition.Builder. argument(java.util.List<GraphQLArgument> arguments)
Deprecated.This is a badly named method and is replaced byGraphQLFieldDefinition.Builder.arguments(java.util.List)
GraphQLFieldDefinition.Builder
GraphQLFieldDefinition.Builder. arguments(java.util.List<GraphQLArgument> arguments)
This adds the list of arguments to the field.GraphQLDirective.Builder
GraphQLDirective.Builder. replaceArguments(java.util.List<GraphQLArgument> arguments)
GraphQLFieldDefinition.Builder
GraphQLFieldDefinition.Builder. replaceArguments(java.util.List<GraphQLArgument> arguments)
Constructors in graphql.schema with parameters of type GraphQLArgument Constructor Description Builder(GraphQLArgument existing)
Constructor parameters in graphql.schema with type arguments of type GraphQLArgument Constructor Description GraphQLDirective(java.lang.String name, java.lang.String description, boolean repeatable, java.util.EnumSet<Introspection.DirectiveLocation> locations, java.util.List<GraphQLArgument> arguments, DirectiveDefinition definition)
GraphQLFieldDefinition(java.lang.String name, java.lang.String description, GraphQLOutputType type, DataFetcherFactory dataFetcherFactory, java.util.List<GraphQLArgument> arguments, java.lang.String deprecationReason, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, FieldDefinition definition)
-
Uses of GraphQLArgument in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLArgument Modifier and Type Method Description private void
SchemaGraphFactory. handleArgument(Vertex argumentVertex, GraphQLArgument graphQLArgument, SchemaGraph schemaGraph)
private Vertex
SchemaGraphFactory. newArgument(GraphQLArgument graphQLArgument, SchemaGraph schemaGraph, boolean isIntrospectionNode)
-
Uses of GraphQLArgument in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLArgument Modifier and Type Method Description (package private) GraphQLArgument
SchemaGeneratorHelper. buildArgument(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition)
private static GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper. buildDirectiveArg(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition)
(package private) static GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper. buildDirectiveArgumentDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)
default GraphQLArgument
SchemaDirectiveWiring. onArgument(SchemaDirectiveWiringEnvironment<GraphQLArgument> environment)
This is called when an argument is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL elementprivate GraphQLArgument
SchemaGeneratorDirectiveHelper. onArgument(GraphQLArgument argument, SchemaGeneratorDirectiveHelper.Parameters params)
Methods in graphql.schema.idl that return types with arguments of type GraphQLArgument Modifier and Type Method Description private static java.util.List<GraphQLArgument>
SchemaGeneratorAppliedDirectiveHelper. transferMissingArguments(SchemaGeneratorHelper.BuildContext buildCtx, java.util.List<GraphQLArgument> arguments, GraphQLDirective directiveDefinition)
private java.util.List<GraphQLArgument>
SchemaGeneratorDirectiveHelper. wireArguments(GraphQLFieldDefinition fieldDefinition, GraphQLFieldsContainer fieldsContainer, NamedNode<?> fieldsContainerNode, SchemaGeneratorDirectiveHelper.Parameters params, GraphQLFieldDefinition field)
Methods in graphql.schema.idl with parameters of type GraphQLArgument Modifier and Type Method Description private GraphQLArgument
SchemaGeneratorDirectiveHelper. onArgument(GraphQLArgument argument, SchemaGeneratorDirectiveHelper.Parameters params)
Method parameters in graphql.schema.idl with type arguments of type GraphQLArgument Modifier and Type Method Description (package private) java.lang.String
SchemaPrinter. argsString(java.lang.Class<? extends GraphQLSchemaElement> parent, java.util.List<GraphQLArgument> arguments)
(package private) java.lang.String
SchemaPrinter. argsString(java.util.List<GraphQLArgument> arguments)
default GraphQLArgument
SchemaDirectiveWiring. onArgument(SchemaDirectiveWiringEnvironment<GraphQLArgument> environment)
This is called when an argument is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL elementprivate static java.util.List<GraphQLArgument>
SchemaGeneratorAppliedDirectiveHelper. transferMissingArguments(SchemaGeneratorHelper.BuildContext buildCtx, java.util.List<GraphQLArgument> arguments, GraphQLDirective directiveDefinition)
-
Uses of GraphQLArgument in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLArgument Modifier and Type Method Description TraversalControl
GraphQLTypeCollectingVisitor. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLArgument in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLArgument Modifier and Type Method Description private void
AppliedDirectiveArgumentsAreValid. checkArgument(GraphQLDirective directive, GraphQLArgument argument, TraverserContext<GraphQLSchemaElement> context)
private java.lang.String
TypesImplementInterfaces. makeArgStr(GraphQLArgument argument)
private void
TypeAndFieldRule. validateFieldDefinitionArgument(java.lang.String typeName, java.lang.String fieldName, GraphQLArgument argument, SchemaValidationErrorCollector errorCollector)
TraversalControl
DefaultValuesAreValid. visitGraphQLArgument(GraphQLArgument argument, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLArgument in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLArgument Modifier and Type Method Description default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitArgument(GraphQLArgument argument, GraphQLSchemaVisitor.ArgumentVisitorEnvironment environment)
Called when visiting aGraphQLArgument
in the schemaTraversalControl
GraphQLSchemaVisitorAdapter. visitGraphQLArgument(GraphQLArgument node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLArgument in graphql.util
Methods in graphql.util that return types with arguments of type GraphQLArgument Modifier and Type Method Description private static java.util.List<GraphQLArgument>
Anonymizer. getMatchingArgumentDefinitions(java.lang.String name, java.util.Set<GraphQLFieldDefinition> fieldDefinitions)
-
Uses of GraphQLArgument in graphql.validation
Fields in graphql.validation declared as GraphQLArgument Modifier and Type Field Description private GraphQLArgument
TraversalContext. argument
Methods in graphql.validation that return GraphQLArgument Modifier and Type Method Description private GraphQLArgument
TraversalContext. find(java.util.List<GraphQLArgument> arguments, java.lang.String name)
GraphQLArgument
TraversalContext. getArgument()
GraphQLArgument
ValidationContext. getArgument()
Method parameters in graphql.validation with type arguments of type GraphQLArgument Modifier and Type Method Description private GraphQLArgument
TraversalContext. find(java.util.List<GraphQLArgument> arguments, java.lang.String name)
-