Uses of Class
graphql.GraphQLContext
Packages that use GraphQLContext
Package
Description
-
Uses of GraphQLContext in graphql
Fields in graphql declared as GraphQLContextModifier and TypeFieldDescriptionprivate GraphQLContextExecutionInput.Builder.graphQLContextprivate final GraphQLContextExecutionInput.graphQLContextprivate final GraphQLContextTypeResolutionEnvironment.graphQLContextMethods in graphql that return GraphQLContextModifier and TypeMethodDescriptionGraphQLContext.Builder.build()Deletes a key in the contextstatic GraphQLContextGraphQLContext.getDefault()ExecutionInput.getGraphQLContext()TypeResolutionEnvironment.getGraphQLContext()static GraphQLContextGraphQLContext.of(Consumer<GraphQLContext.Builder> contextBuilderConsumer) Creates a new GraphqlContext with the map of context added to itstatic GraphQLContextCreates a new GraphqlContext with the map of context added to itPuts a value into the contextGraphQLContext.putAll(GraphQLContext context) Puts all of the values into the contextGraphQLContext.putAll(GraphQLContext.Builder contextBuilder) Puts all of the values into the contextGraphQLContext.putAll(Consumer<GraphQLContext.Builder> contextBuilderConsumer) Puts all of the values into the contextPuts all of the values into the contextMethods in graphql with parameters of type GraphQLContextModifier and TypeMethodDescriptionGraphQLContext.Builder.of(GraphQLContext graphQLContext) Adds all of the values in the map into the context builder.GraphQLContext.putAll(GraphQLContext context) Puts all of the values into the contextprivate ExecutionInput.BuilderExecutionInput.Builder.transfer(GraphQLContext graphQLContext) -
Uses of GraphQLContext in graphql.analysis
Fields in graphql.analysis declared as GraphQLContextModifier and TypeFieldDescriptionprivate final GraphQLContextQueryTraversalContext.graphQLContextMethods in graphql.analysis that return GraphQLContextConstructors in graphql.analysis with parameters of type GraphQLContextModifierConstructorDescription(package private)QueryTraversalContext(GraphQLOutputType outputType, QueryVisitorFieldEnvironment environment, SelectionSetContainer<?> selectionSetContainer, GraphQLContext graphQLContext) -
Uses of GraphQLContext in graphql.execution
Fields in graphql.execution declared as GraphQLContextModifier and TypeFieldDescriptionprivate final GraphQLContextExecutionContext.graphQLContext(package private) GraphQLContextExecutionContextBuilder.graphQLContextprivate GraphQLContextFieldCollectorParameters.Builder.graphQLContextprivate final GraphQLContextFieldCollectorParameters.graphQLContextprivate GraphQLContextTypeResolutionParameters.Builder.graphQLContextprivate final GraphQLContextTypeResolutionParameters.graphQLContextMethods in graphql.execution that return GraphQLContextModifier and TypeMethodDescriptionExecutionContext.getGraphQLContext()FieldCollectorParameters.getGraphQLContext()TypeResolutionParameters.getGraphQLContext()Methods in graphql.execution with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate voidExecution.addExtensionsBuilderNotPresent(GraphQLContext graphQLContext) static CoercedVariablesValuesResolver.coerceVariableValues(GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) This method coerces the "raw" variables values provided to the engine.(package private) static ObjectValuesResolverConversion.defaultValueToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, InputValueWithState defaultValue, GraphQLInputType type, GraphQLContext graphqlContext, Locale locale) static ObjectValuesResolver.externalValueToInternalValue(GraphqlFieldVisibility fieldVisibility, Object externalValue, GraphQLInputType type, GraphQLContext graphqlContext, Locale locale) Converts an external value to an internal value(package private) static ObjectValuesResolverConversion.externalValueToInternalValue(GraphqlFieldVisibility fieldVisibility, Object externalValue, GraphQLInputType type, GraphQLContext graphqlContext, Locale locale) Converts an external value to an internal valueprivate static ObjectValuesResolverConversion.externalValueToInternalValueForEnum(GraphQLEnumType graphQLEnumType, Object value, GraphQLContext graphqlContext, Locale locale) including validationprivate static ListValuesResolverConversion.externalValueToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Object value, GraphQLContext graphqlContext, Locale locale) including validationprivate static ObjectValuesResolverConversion.externalValueToInternalValueForObject(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType inputObjectType, Map<String, Object> inputMap, GraphQLContext graphqlContext, Locale locale) performs validationprivate static ObjectValuesResolverConversion.externalValueToInternalValueForScalar(GraphQLScalarType graphQLScalarType, Object value, GraphQLContext graphqlContext, Locale locale) including validation(package private) static CoercedVariablesValuesResolverConversion.externalValueToInternalValueForVariables(InputInterceptor inputInterceptor, GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) performs validation too(package private) static ObjectValuesResolverConversion.externalValueToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType graphQLType, Object originalValue, GraphQLContext graphqlContext, Locale locale) Performs validation too(package private) static ObjectValuesResolverConversion.externalValueToLiteral(GraphqlFieldVisibility fieldVisibility, @Nullable Object value, GraphQLInputType type, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, Locale locale) No validation: the external value is assumed to be valid.private static Value<?> ValuesResolverConversion.externalValueToLiteralForEnum(GraphQLEnumType enumType, Object value, GraphQLContext graphqlContext, Locale locale) No validationprivate static ObjectValuesResolverConversion.externalValueToLiteralForList(GraphqlFieldVisibility fieldVisibility, GraphQLList listType, Object value, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, Locale locale) No validationprivate static ObjectValuesResolverConversion.externalValueToLiteralForObject(GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType inputObjectType, Object inputValue, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, Locale locale) No validationprivate static Value<?> ValuesResolverConversion.externalValueToLiteralForScalar(GraphQLScalarType scalarType, Object value, GraphQLContext graphqlContext, @NotNull Locale locale) No validationValuesResolver.getArgumentValues(GraphQLCodeRegistry codeRegistry, List<GraphQLArgument> argumentTypes, List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) ValuesResolver.getArgumentValues(List<GraphQLArgument> argumentTypes, List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) This is not used for validation: the argument literals are all validated and the variables are validated (when coerced)ValuesResolver.getArgumentValuesImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, List<GraphQLArgument> argumentTypes, List<Argument> arguments, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) static <T> TValuesResolver.getInputValueImpl(GraphQLInputType inputType, InputValueWithState inputValue, GraphQLContext graphqlContext, Locale locale) static Map<String, NormalizedInputValue> ValuesResolver.getNormalizedVariableValues(GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) Normalized variables values are Literals with type information.ExecutionContextBuilder.graphQLContext(GraphQLContext context) FieldCollectorParameters.Builder.graphQLContext(GraphQLContext graphQLContext) TypeResolutionParameters.Builder.graphQLContext(GraphQLContext context) private static Value<?> ValuesResolverLegacy.handleInputObjectLegacy(Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, Locale locale) private static Value<?> ValuesResolverLegacy.handleListLegacy(Object value, GraphQLList type, GraphQLContext graphqlContext, Locale locale) private static Value<?> ValuesResolverLegacy.handleNonNullLegacy(Object _value, GraphQLNonNull type, GraphQLContext graphqlContext, Locale locale) (package private) static ObjectValuesResolverConversion.literalToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) No validation (it was checked before via ArgumentsOfCorrectType and VariableDefaultValuesOfCorrectType)private static ObjectValuesResolverConversion.literalToInternalValueForInputObject(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputObjectType type, ObjectValue inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) no validationprivate static ObjectValuesResolverConversion.literalToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) no validationprivate static ObjectValuesResolverConversion.literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull Locale locale) no validationprivate static @Nullable ObjectValuesResolverConversion.literalToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) private ExecutionResultExecution.mergeExtensionsBuilderIfPresent(ExecutionResult executionResult, GraphQLContext graphQLContext) private static ObjectValuesResolverLegacy.serializeLegacy(GraphQLType type, Object value, GraphQLContext graphqlContext, Locale locale) static ObjectValuesResolver.valueToInternalValue(InputValueWithState inputValueWithState, GraphQLInputType inputType, GraphQLContext graphqlContext, Locale locale) (package private) static @Nullable ObjectValuesResolverConversion.valueToInternalValueImpl(InputInterceptor inputInterceptor, InputValueWithState inputValueWithState, GraphQLInputType inputType, GraphQLContext graphqlContext, Locale locale) static Value<?> ValuesResolver.valueToLiteral(@NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, Locale locale) static Value<?> ValuesResolver.valueToLiteral(@NotNull GraphqlFieldVisibility fieldVisibility, @NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, Locale locale) Takes a value which can be in different states (internal, literal, external value) and converts into Literal(package private) static ObjectValuesResolverConversion.valueToLiteralImpl(GraphqlFieldVisibility fieldVisibility, InputValueWithState inputValueWithState, GraphQLType type, ValuesResolver.ValueMode valueMode, GraphQLContext graphqlContext, Locale locale) (package private) static Value<?> ValuesResolverLegacy.valueToLiteralLegacy(Object value, GraphQLType type, GraphQLContext graphqlContext, 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 GraphQLContextMethods in graphql.execution.conditional with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate booleanConditionalNodes.customShouldInclude(Map<String, Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision) booleanConditionalNodes.shouldInclude(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext) -
Uses of GraphQLContext in graphql.execution.directives
Fields in graphql.execution.directives declared as GraphQLContextModifier and TypeFieldDescriptionprivate GraphQLContextQueryDirectivesBuilder.graphQLContextprivate final GraphQLContextQueryDirectivesImpl.graphQLContextMethods in graphql.execution.directives with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate voidDirectivesResolver.buildArguments(GraphQLDirective.Builder directiveBuilder, GraphQLCodeRegistry codeRegistry, GraphQLDirective protoType, Directive fieldDirective, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) QueryDirectives.Builder.graphQLContext(GraphQLContext graphQLContext) QueryDirectivesBuilder.graphQLContext(GraphQLContext graphQLContext) DirectivesResolver.resolveDirectives(List<Directive> directives, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) Constructors in graphql.execution.directives with parameters of type GraphQLContextModifierConstructorDescriptionQueryDirectivesImpl(MergedField mergedField, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) -
Uses of GraphQLContext in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as GraphQLContextModifier and TypeFieldDescriptionprivate final GraphQLContextInstrumentationExecutionParameters.graphQLContextMethods in graphql.execution.instrumentation.parameters that return GraphQLContext -
Uses of GraphQLContext in graphql.execution.values
Methods in graphql.execution.values with parameters of type GraphQLContextModifier and TypeMethodDescriptionInputInterceptor.intercept(@Nullable Object value, @NotNull GraphQLInputType graphQLType, @NotNull GraphQLContext graphqlContext, @NotNull Locale locale) This is called with a value that is to be presented to theValuesResolvercode. -
Uses of GraphQLContext in graphql.execution.values.legacycoercing
Methods in graphql.execution.values.legacycoercing with parameters of type GraphQLContextModifier and TypeMethodDescriptionLegacyCoercingInputInterceptor.intercept(@Nullable Object input, @NotNull GraphQLInputType graphQLType, @NotNull GraphQLContext graphqlContext, @NotNull Locale locale) -
Uses of GraphQLContext in graphql.introspection
Methods in graphql.introspection with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate static booleanGoodFaithIntrospection.isIntrospectionEnabled(GraphQLContext graphQlContext) private static booleanIntrospection.isIntrospectionEnabled(GraphQLContext graphQlContext) private static StringIntrospection.printDefaultValue(InputValueWithState inputValueWithState, GraphQLInputType type, GraphQLContext graphQLContext, Locale locale) -
Uses of GraphQLContext in graphql.normalized
Fields in graphql.normalized declared as GraphQLContextModifier and TypeFieldDescriptionprivate final GraphQLContextExecutableNormalizedOperationFactory.Options.graphQLContextprivate GraphQLContextFieldCollectorNormalizedQueryParams.Builder.graphQLContextprivate final GraphQLContextFieldCollectorNormalizedQueryParams.graphQLContextMethods in graphql.normalized that return GraphQLContextModifier and TypeMethodDescriptionExecutableNormalizedOperationFactory.Options.getGraphQLContext()FieldCollectorNormalizedQueryParams.getGraphQLContext()Methods in graphql.normalized with parameters of type GraphQLContextModifier and TypeMethodDescriptionExecutableNormalizedOperationFactory.createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, String operationName, RawVariables rawVariables, GraphQLContext graphQLContext, Locale locale) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.ExecutableNormalizedOperationFactory.Options.graphQLContext(GraphQLContext graphQLContext) Context object to use when parsing the operation.FieldCollectorNormalizedQueryParams.Builder.graphQLContext(GraphQLContext graphQLContext) Constructors in graphql.normalized with parameters of type GraphQLContextModifierConstructorDescriptionprivateOptions(GraphQLContext graphQLContext, Locale locale, int maxChildrenDepth) -
Uses of GraphQLContext in graphql.scalar
Methods in graphql.scalar with parameters of type GraphQLContextModifier and TypeMethodDescription@Nullable BooleanGraphqlBooleanCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable DoubleGraphqlFloatCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable ObjectGraphqlIDCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable IntegerGraphqlIntCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable StringGraphqlStringCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlBooleanCoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlFloatCoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlIDCoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlIntCoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlStringCoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable BooleanGraphqlBooleanCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable DoubleGraphqlFloatCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable ObjectGraphqlIDCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable IntegerGraphqlIntCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable StringGraphqlStringCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @NotNull Value<?> GraphqlBooleanCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @NotNull Value<?> GraphqlFloatCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @NotNull Value<?> GraphqlIDCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @NotNull Value<?> GraphqlIntCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @NotNull Value<?> GraphqlStringCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) -
Uses of GraphQLContext in graphql.schema
Fields in graphql.schema declared as GraphQLContextModifier and TypeFieldDescriptionprivate GraphQLContextDataFetchingEnvironmentImpl.Builder.graphQLContextprivate final GraphQLContextDataFetchingEnvironmentImpl.graphQLContextMethods in graphql.schema that return GraphQLContextModifier and TypeMethodDescriptionDataFetchingEnvironment.getGraphQlContext()Returns a shared context argument that is set up when theGraphQL.execute(graphql.ExecutionInput))} method is invoked.DataFetchingEnvironmentImpl.getGraphQlContext()DelegatingDataFetchingEnvironment.getGraphQlContext()Methods in graphql.schema with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate ObjectGraphQLEnumType.getNameByValue(Object value, GraphQLContext graphQLContext, Locale locale) private ObjectGraphQLEnumType.getValueByName(@NotNull Object value, GraphQLContext graphQLContext, Locale locale) DataFetchingEnvironmentImpl.Builder.graphQLContext(GraphQLContext context) default ICoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Called during query execution to convert a query input AST node into a Java object acceptable for the scalar type.GraphQLEnumType.parseLiteral(Value<?> input, GraphQLContext graphQLContext, Locale locale) private ObjectGraphQLEnumType.parseLiteralImpl(Object input, GraphQLContext graphQLContext, Locale locale) default ICoercing.parseValue(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Called to resolve an input from a query variable into a Java object acceptable for the scalar type.GraphQLEnumType.parseValue(Object input, GraphQLContext graphQLContext, Locale locale) default OCoercing.serialize(@NotNull Object dataFetcherResult, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Called to convert a Java object result of a DataFetcher to a valid runtime value for the scalar type.GraphQLEnumType.serialize(Object input, GraphQLContext graphQLContext, Locale locale) default @NotNull Value<?> Coercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Converts an external input value to a literal (Ast Value).Value<?> GraphQLEnumType.valueToLiteral(Object input, GraphQLContext graphQLContext, Locale locale) -
Uses of GraphQLContext in graphql.schema.validation
Fields in graphql.schema.validation declared as GraphQLContextModifier and TypeFieldDescriptionprivate final GraphQLContextDefaultValuesAreValid.graphQLContextMethods in graphql.schema.validation with parameters of type GraphQLContextModifier and TypeMethodDescriptionprivate booleanAppliedDirectiveArgumentsAreValid.isValidExternalValue(GraphQLSchema schema, Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext, Locale locale) private booleanDefaultValuesAreValid.isValidExternalValue(GraphQLSchema schema, Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext) -
Uses of GraphQLContext in graphql.validation
Fields in graphql.validation declared as GraphQLContextMethods in graphql.validation that return GraphQLContextMethods in graphql.validation with parameters of type GraphQLContextModifier and TypeMethodDescription(package private) booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private Optional<GraphQLError> ValidationUtil.parseLiteral(Value<?> value, Coercing<?, ?> coercing, GraphQLContext graphQLContext, Locale locale) private Optional<GraphQLError> ValidationUtil.parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, Locale locale)