Uses of Class
graphql.execution.CoercedVariables
-
Packages that use CoercedVariables Package Description graphql.analysis graphql.execution graphql.execution.conditional graphql.execution.directives graphql.normalized graphql.scalar graphql.schema -
-
Uses of CoercedVariables in graphql.analysis
Fields in graphql.analysis declared as CoercedVariables Modifier and Type Field Description private CoercedVariables
QueryTraverser.Builder. coercedVariables
private CoercedVariables
QueryTraverser. coercedVariables
private CoercedVariables
QueryComplexityCalculator.Builder. variables
private CoercedVariables
QueryComplexityCalculator. variables
Methods in graphql.analysis with parameters of type CoercedVariables Modifier and Type Method Description QueryTraverser.Builder
QueryTraverser.Builder. coercedVariables(CoercedVariables coercedVariables)
Variables (already coerced) used in the query.QueryComplexityCalculator.Builder
QueryComplexityCalculator.Builder. variables(CoercedVariables variables)
Constructors in graphql.analysis with parameters of type CoercedVariables Constructor Description QueryTraverser(GraphQLSchema schema, Document document, java.lang.String operation, CoercedVariables coercedVariables)
QueryTraverser(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName, CoercedVariables coercedVariables)
-
Uses of CoercedVariables in graphql.execution
Fields in graphql.execution declared as CoercedVariables Modifier and Type Field Description private CoercedVariables
ExecutionContext. coercedVariables
(package private) CoercedVariables
ExecutionContextBuilder. coercedVariables
Methods in graphql.execution that return CoercedVariables Modifier and Type Method Description static CoercedVariables
ValuesResolver. coerceVariableValues(GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.Locale locale)
This method coerces the "raw" variables values provided to the engine.static CoercedVariables
CoercedVariables. emptyVariables()
(package private) static CoercedVariables
ValuesResolverConversion. externalValueToInternalValueForVariables(InputInterceptor inputInterceptor, GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.Locale locale)
performs validation tooCoercedVariables
ExecutionContext. getCoercedVariables()
static CoercedVariables
CoercedVariables. of(java.util.Map<java.lang.String,java.lang.Object> coercedVariables)
Methods in graphql.execution with parameters of type CoercedVariables Modifier and Type Method Description ExecutionContextBuilder
ExecutionContextBuilder. coercedVariables(CoercedVariables coercedVariables)
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)
(package private) static java.lang.Object
ValuesResolverConversion. literalToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
No validation (it was checked before via ArgumentsOfCorrectType and VariableDefaultValuesOfCorrectType)private static java.lang.Object
ValuesResolverConversion. literalToInternalValueForInputObject(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType type, ObjectValue inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
no validationprivate static java.lang.Object
ValuesResolverConversion. literalToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
no validationprivate static java.lang.Object
ValuesResolverConversion. literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
no validationprivate static @Nullable java.lang.Object
ValuesResolverConversion. literalToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
-
Uses of CoercedVariables in graphql.execution.conditional
Methods in graphql.execution.conditional that return CoercedVariables Modifier and Type Method Description CoercedVariables
ConditionalNodeDecisionEnvironment. getVariables()
-
Uses of CoercedVariables in graphql.execution.directives
Fields in graphql.execution.directives declared as CoercedVariables Modifier and Type Field Description private CoercedVariables
QueryDirectivesBuilder. coercedVariables
Methods in graphql.execution.directives with parameters of type CoercedVariables Modifier and Type Method Description QueryDirectives.Builder
QueryDirectives.Builder. coercedVariables(CoercedVariables coercedVariables)
QueryDirectives.Builder
QueryDirectivesBuilder. coercedVariables(CoercedVariables coercedVariables)
-
Uses of CoercedVariables in graphql.normalized
Methods in graphql.normalized with parameters of type CoercedVariables Modifier and Type Method Description static ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory. createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, CoercedVariables coercedVariableValues)
This will create a runtime representation of the graphql operation that would be executed in a runtime sense.static ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory. createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, java.util.Map<java.lang.String,FragmentDefinition> fragments, CoercedVariables coercedVariableValues)
This will create a runtime representation of the graphql operation that would be executed in a runtime sense.private ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory. createNormalizedQueryImpl(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, java.util.Map<java.lang.String,FragmentDefinition> fragments, CoercedVariables coercedVariableValues, @Nullable java.util.Map<java.lang.String,NormalizedInputValue> normalizedVariableValues, ExecutableNormalizedOperationFactory.Options options)
Creates a new ExecutableNormalizedOperation for the provided query -
Uses of CoercedVariables in graphql.scalar
Methods in graphql.scalar with parameters of type CoercedVariables Modifier and Type Method Description @Nullable java.lang.Boolean
GraphqlBooleanCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Double
GraphqlFloatCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Object
GraphqlIDCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Integer
GraphqlIntCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.String
GraphqlStringCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
-
Uses of CoercedVariables in graphql.schema
Methods in graphql.schema with parameters of type CoercedVariables Modifier and Type Method Description default I
Coercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Called during query execution to convert a query input AST node into a Java object acceptable for the scalar type.
-