Uses of Class
graphql.GraphQLContext
-
-
Uses of GraphQLContext in graphql
Fields in graphql declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
ExecutionInput.Builder. graphQLContext
private GraphQLContext
ExecutionInput. graphQLContext
private GraphQLContext
TypeResolutionEnvironment. graphQLContext
Methods in graphql that return GraphQLContext Modifier and Type Method Description GraphQLContext
GraphQLContext.Builder. build()
GraphQLContext
GraphQLContext. delete(java.lang.Object key)
Deletes a key in the contextstatic GraphQLContext
GraphQLContext. getDefault()
GraphQLContext
ExecutionInput. getGraphQLContext()
GraphQLContext
TypeResolutionEnvironment. getGraphQLContext()
static GraphQLContext
GraphQLContext. of(java.util.function.Consumer<GraphQLContext.Builder> contextBuilderConsumer)
Creates a new GraphqlContext with the map of context added to itstatic GraphQLContext
GraphQLContext. of(java.util.Map<?,java.lang.Object> mapOfContext)
Creates a new GraphqlContext with the map of context added to itGraphQLContext
GraphQLContext. put(java.lang.Object key, java.lang.Object value)
Puts a value into the contextGraphQLContext
GraphQLContext. putAll(GraphQLContext context)
Puts all of the values into the contextGraphQLContext
GraphQLContext. putAll(GraphQLContext.Builder contextBuilder)
Puts all of the values into the contextGraphQLContext
GraphQLContext. putAll(java.util.function.Consumer<GraphQLContext.Builder> contextBuilderConsumer)
Puts all of the values into the contextGraphQLContext
GraphQLContext. putAll(java.util.Map<?,java.lang.Object> map)
Puts all of the values into the contextMethods in graphql with parameters of type GraphQLContext Modifier and Type Method Description GraphQLContext.Builder
GraphQLContext.Builder. of(GraphQLContext graphQLContext)
Adds all of the values in the map into the context builder.GraphQLContext
GraphQLContext. putAll(GraphQLContext context)
Puts all of the values into the contextprivate ExecutionInput.Builder
ExecutionInput.Builder. transfer(GraphQLContext graphQLContext)
-
Uses of GraphQLContext in graphql.analysis
Fields in graphql.analysis declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
QueryTraversalContext. graphQLContext
Methods in graphql.analysis that return GraphQLContext Modifier and Type Method Description GraphQLContext
QueryTraversalContext. getGraphQLContext()
Constructors in graphql.analysis with parameters of type GraphQLContext Constructor Description QueryTraversalContext(GraphQLOutputType outputType, QueryVisitorFieldEnvironment environment, SelectionSetContainer<?> selectionSetContainer, GraphQLContext graphQLContext)
-
Uses of GraphQLContext in graphql.execution
Fields in graphql.execution declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
ExecutionContext. graphQLContext
(package private) GraphQLContext
ExecutionContextBuilder. graphQLContext
private GraphQLContext
FieldCollectorParameters.Builder. graphQLContext
private GraphQLContext
FieldCollectorParameters. graphQLContext
private GraphQLContext
TypeResolutionParameters.Builder. graphQLContext
private GraphQLContext
TypeResolutionParameters. graphQLContext
Methods in graphql.execution that return GraphQLContext Modifier and Type Method Description GraphQLContext
ExecutionContext. getGraphQLContext()
GraphQLContext
FieldCollectorParameters. getGraphQLContext()
GraphQLContext
TypeResolutionParameters. getGraphQLContext()
Methods in graphql.execution with parameters of type GraphQLContext Modifier and Type Method Description private void
Execution. addExtensionsBuilderNotPresent(GraphQLContext graphQLContext)
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.(package private) static java.lang.Object
ValuesResolverConversion. defaultValueToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, InputValueWithState defaultValue, GraphQLInputType type, GraphQLContext graphqlContext, java.util.Locale locale)
static java.lang.Object
ValuesResolver. externalValueToInternalValue(GraphqlFieldVisibility fieldVisibility, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphqlContext, java.util.Locale locale)
Converts an external value to an internal value(package private) static java.lang.Object
ValuesResolverConversion. externalValueToInternalValue(GraphqlFieldVisibility fieldVisibility, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphqlContext, java.util.Locale locale)
Converts an external value to an internal valueprivate static java.lang.Object
ValuesResolverConversion. externalValueToInternalValueForEnum(GraphQLEnumType graphQLEnumType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
including validationprivate static java.util.List
ValuesResolverConversion. externalValueToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
including validationprivate static java.lang.Object
ValuesResolverConversion. externalValueToInternalValueForObject(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType inputObjectType, java.util.Map<java.lang.String,java.lang.Object> inputMap, GraphQLContext graphqlContext, java.util.Locale locale)
performs validationprivate static java.lang.Object
ValuesResolverConversion. externalValueToInternalValueForScalar(GraphQLScalarType graphQLScalarType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
including validation(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 too(package private) static java.lang.Object
ValuesResolverConversion. externalValueToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType graphQLType, java.lang.Object originalValue, GraphQLContext graphqlContext, java.util.Locale locale)
Performs validation too(package private) static java.lang.Object
ValuesResolverConversion. externalValueToLiteral(GraphqlFieldVisibility fieldVisibility, @Nullable java.lang.Object value, GraphQLInputType type, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, java.util.Locale locale)
No validation: the external value is assumed to be valid.private static Value<?>
ValuesResolverConversion. externalValueToLiteralForEnum(GraphQLEnumType enumType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
No validationprivate static java.lang.Object
ValuesResolverConversion. externalValueToLiteralForList(GraphqlFieldVisibility fieldVisibility, GraphQLList listType, java.lang.Object value, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, java.util.Locale locale)
No validationprivate static java.lang.Object
ValuesResolverConversion. externalValueToLiteralForObject(GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType inputObjectType, java.lang.Object inputValue, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, java.util.Locale locale)
No validationprivate static Value<?>
ValuesResolverConversion. externalValueToLiteralForScalar(GraphQLScalarType scalarType, java.lang.Object value, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
No validationstatic 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 <T> T
ValuesResolver. getInputValueImpl(GraphQLInputType inputType, InputValueWithState inputValue, GraphQLContext graphqlContext, java.util.Locale locale)
static java.util.Map<java.lang.String,NormalizedInputValue>
ValuesResolver. getNormalizedVariableValues(GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.Locale locale)
Normalized variables values are Literals with type information.ExecutionContextBuilder
ExecutionContextBuilder. graphQLContext(GraphQLContext context)
FieldCollectorParameters.Builder
FieldCollectorParameters.Builder. graphQLContext(GraphQLContext graphQLContext)
TypeResolutionParameters.Builder
TypeResolutionParameters.Builder. graphQLContext(GraphQLContext context)
private static Value<?>
ValuesResolverLegacy. handleInputObjectLegacy(java.lang.Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, java.util.Locale locale)
private static Value<?>
ValuesResolverLegacy. handleListLegacy(java.lang.Object value, GraphQLList type, GraphQLContext graphqlContext, java.util.Locale locale)
private static Value<?>
ValuesResolverLegacy. handleNonNullLegacy(java.lang.Object _value, GraphQLNonNull type, 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)
private ExecutionResult
Execution. mergeExtensionsBuilderIfPresent(ExecutionResult executionResult, GraphQLContext graphQLContext)
private static java.lang.Object
ValuesResolverLegacy. serializeLegacy(GraphQLType type, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
static java.lang.Object
ValuesResolver. valueToInternalValue(InputValueWithState inputValueWithState, GraphQLInputType inputType, GraphQLContext graphqlContext, java.util.Locale locale)
(package private) static @Nullable java.lang.Object
ValuesResolverConversion. valueToInternalValueImpl(InputInterceptor inputInterceptor, InputValueWithState inputValueWithState, GraphQLInputType inputType, GraphQLContext graphqlContext, java.util.Locale locale)
static Value<?>
ValuesResolver. valueToLiteral(@NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, java.util.Locale locale)
static Value<?>
ValuesResolver. valueToLiteral(@NotNull GraphqlFieldVisibility fieldVisibility, @NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, java.util.Locale locale)
Takes a value which can be in different states (internal, literal, external value) and converts into Literal(package private) static java.lang.Object
ValuesResolverConversion. valueToLiteralImpl(GraphqlFieldVisibility fieldVisibility, InputValueWithState inputValueWithState, GraphQLType type, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, java.util.Locale locale)
(package private) static Value<?>
ValuesResolverLegacy. valueToLiteralLegacy(java.lang.Object value, GraphQLType type, GraphQLContext graphqlContext, java.util.Locale locale)
Legacy logic to convert an arbitrary java object to an Ast Literal. -
Uses of GraphQLContext in graphql.execution.conditional
Methods in graphql.execution.conditional that return GraphQLContext Modifier and Type Method Description GraphQLContext
ConditionalNodeDecisionEnvironment. getGraphQLContext()
Methods in graphql.execution.conditional with parameters of type GraphQLContext Modifier and Type Method Description private boolean
ConditionalNodes. customShouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision)
boolean
ConditionalNodes. shouldInclude(DirectivesContainer<?> element, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext)
-
Uses of GraphQLContext in graphql.execution.directives
Fields in graphql.execution.directives declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
QueryDirectivesBuilder. graphQLContext
private GraphQLContext
QueryDirectivesImpl. graphQLContext
Methods in graphql.execution.directives with parameters of type GraphQLContext Modifier and Type Method Description private void
DirectivesResolver. buildArguments(GraphQLDirective.Builder directiveBuilder, GraphQLCodeRegistry codeRegistry, GraphQLDirective protoType, Directive fieldDirective, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)
QueryDirectives.Builder
QueryDirectives.Builder. graphQLContext(GraphQLContext graphQLContext)
QueryDirectives.Builder
QueryDirectivesBuilder. graphQLContext(GraphQLContext graphQLContext)
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
DirectivesResolver. resolveDirectives(java.util.List<Directive> directives, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)
Constructors in graphql.execution.directives with parameters of type GraphQLContext Constructor Description QueryDirectivesImpl(MergedField mergedField, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)
-
Uses of GraphQLContext in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
InstrumentationExecutionParameters. graphQLContext
Methods in graphql.execution.instrumentation.parameters that return GraphQLContext Modifier and Type Method Description GraphQLContext
InstrumentationExecutionParameters. getGraphQLContext()
-
Uses of GraphQLContext in graphql.execution.values
Methods in graphql.execution.values with parameters of type GraphQLContext Modifier and Type Method Description java.lang.Object
InputInterceptor. intercept(@Nullable java.lang.Object value, @NotNull GraphQLInputType graphQLType, @NotNull GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
This is called with a value that is to be presented to theValuesResolver
code. -
Uses of GraphQLContext in graphql.execution.values.legacycoercing
Methods in graphql.execution.values.legacycoercing with parameters of type GraphQLContext Modifier and Type Method Description java.lang.Object
LegacyCoercingInputInterceptor. intercept(@Nullable java.lang.Object input, @NotNull GraphQLInputType graphQLType, @NotNull GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
-
Uses of GraphQLContext in graphql.introspection
Methods in graphql.introspection with parameters of type GraphQLContext Modifier and Type Method Description private static boolean
GoodFaithIntrospection. isIntrospectionEnabled(GraphQLContext graphQlContext)
private static boolean
Introspection. isIntrospectionEnabled(GraphQLContext graphQlContext)
private static java.lang.String
Introspection. printDefaultValue(InputValueWithState inputValueWithState, GraphQLInputType type, GraphQLContext graphQLContext, java.util.Locale locale)
-
Uses of GraphQLContext in graphql.normalized
Fields in graphql.normalized declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
ExecutableNormalizedOperationFactory.Options. graphQLContext
private GraphQLContext
FieldCollectorNormalizedQueryParams.Builder. graphQLContext
private GraphQLContext
FieldCollectorNormalizedQueryParams. graphQLContext
Methods in graphql.normalized that return GraphQLContext Modifier and Type Method Description GraphQLContext
ExecutableNormalizedOperationFactory.Options. getGraphQLContext()
GraphQLContext
FieldCollectorNormalizedQueryParams. getGraphQLContext()
Methods in graphql.normalized with parameters of type GraphQLContext Modifier and Type Method Description static ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory. createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables, GraphQLContext graphQLContext, java.util.Locale locale)
This will create a runtime representation of the graphql operation that would be executed in a runtime sense.ExecutableNormalizedOperationFactory.Options
ExecutableNormalizedOperationFactory.Options. graphQLContext(GraphQLContext graphQLContext)
Context object to use when parsing the operation.FieldCollectorNormalizedQueryParams.Builder
FieldCollectorNormalizedQueryParams.Builder. graphQLContext(GraphQLContext graphQLContext)
Constructors in graphql.normalized with parameters of type GraphQLContext Constructor Description Options(GraphQLContext graphQLContext, java.util.Locale locale, int maxChildrenDepth)
-
Uses of GraphQLContext in graphql.scalar
Methods in graphql.scalar with parameters of type GraphQLContext 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)
java.lang.Boolean
GraphqlBooleanCoercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
java.lang.Double
GraphqlFloatCoercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
java.lang.Object
GraphqlIDCoercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
java.lang.Integer
GraphqlIntCoercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
java.lang.String
GraphqlStringCoercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Boolean
GraphqlBooleanCoercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Double
GraphqlFloatCoercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Object
GraphqlIDCoercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Integer
GraphqlIntCoercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.String
GraphqlStringCoercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@NotNull Value<?>
GraphqlBooleanCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@NotNull Value<?>
GraphqlFloatCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@NotNull Value<?>
GraphqlIDCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@NotNull Value<?>
GraphqlIntCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@NotNull Value<?>
GraphqlStringCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
-
Uses of GraphQLContext in graphql.schema
Fields in graphql.schema declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
DataFetchingEnvironmentImpl.Builder. graphQLContext
private GraphQLContext
DataFetchingEnvironmentImpl. graphQLContext
Methods in graphql.schema that return GraphQLContext Modifier and Type Method Description GraphQLContext
DataFetchingEnvironment. getGraphQlContext()
Returns a shared context argument that is set up when theGraphQL.execute(graphql.ExecutionInput)
)} method is invoked.GraphQLContext
DataFetchingEnvironmentImpl. getGraphQlContext()
GraphQLContext
DelegatingDataFetchingEnvironment. getGraphQlContext()
Methods in graphql.schema with parameters of type GraphQLContext Modifier and Type Method Description private java.lang.Object
GraphQLEnumType. getNameByValue(java.lang.Object value, GraphQLContext graphQLContext, java.util.Locale locale)
private java.lang.Object
GraphQLEnumType. getValueByName(@NotNull java.lang.Object value, GraphQLContext graphQLContext, java.util.Locale locale)
DataFetchingEnvironmentImpl.Builder
DataFetchingEnvironmentImpl.Builder. graphQLContext(GraphQLContext context)
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.java.lang.Object
GraphQLEnumType. parseLiteral(Value<?> input, GraphQLContext graphQLContext, java.util.Locale locale)
private java.lang.Object
GraphQLEnumType. parseLiteralImpl(java.lang.Object input, GraphQLContext graphQLContext, java.util.Locale locale)
default I
Coercing. parseValue(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Called to resolve an input from a query variable into a Java object acceptable for the scalar type.java.lang.Object
GraphQLEnumType. parseValue(java.lang.Object input, GraphQLContext graphQLContext, java.util.Locale locale)
default O
Coercing. serialize(@NotNull java.lang.Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Called to convert a Java object result of a DataFetcher to a valid runtime value for the scalar type.java.lang.Object
GraphQLEnumType. serialize(java.lang.Object input, GraphQLContext graphQLContext, java.util.Locale locale)
default @NotNull Value<?>
Coercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Converts an external input value to a literal (Ast Value).Value<?>
GraphQLEnumType. valueToLiteral(java.lang.Object input, GraphQLContext graphQLContext, java.util.Locale locale)
-
Uses of GraphQLContext in graphql.schema.validation
Fields in graphql.schema.validation declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
DefaultValuesAreValid. graphQLContext
Methods in graphql.schema.validation with parameters of type GraphQLContext Modifier and Type Method Description private boolean
AppliedDirectiveArgumentsAreValid. isValidExternalValue(GraphQLSchema schema, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext, java.util.Locale locale)
private boolean
DefaultValuesAreValid. isValidExternalValue(GraphQLSchema schema, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext)
-
Uses of GraphQLContext in graphql.validation
Fields in graphql.validation declared as GraphQLContext Modifier and Type Field Description private GraphQLContext
ValidationContext. graphQLContext
Methods in graphql.validation that return GraphQLContext Modifier and Type Method Description GraphQLContext
ValidationContext. getGraphQLContext()
Methods in graphql.validation with parameters of type GraphQLContext Modifier and Type Method Description (package private) boolean
ValidationUtil. isValidLiteralValue(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)
private boolean
ValidationUtil. isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)
boolean
ValidationUtil. isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)
private java.util.Optional<GraphQLError>
ValidationUtil. parseLiteral(Value<?> value, Coercing<?,?> coercing, GraphQLContext graphQLContext, java.util.Locale locale)
private java.util.Optional<GraphQLError>
ValidationUtil. parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, java.util.Locale locale)
-