Uses of Class
graphql.execution.ResultPath
Packages that use ResultPath
Package
Description
-
Uses of ResultPath in graphql
Methods in graphql with parameters of type ResultPathModifier and TypeMethodDescriptionprivate String
ExceptionWhileDataFetching.mkMessage
(ResultPath path, Throwable exception) private String
SerializationError.mkMessage
(ResultPath path, CoercingSerializeException exception) private String
TypeMismatchError.mkMessage
(ResultPath path, GraphQLType expectedType) private String
UnresolvedTypeError.mkMessage
(ResultPath path, UnresolvedTypeException exception, ExecutionStepInfo info) GraphQLError.Builder.path
(@Nullable ResultPath path) Sets the path of the messageGraphqlErrorBuilder.path
(@Nullable ResultPath path) Constructors in graphql with parameters of type ResultPathModifierConstructorDescriptionExceptionWhileDataFetching
(ResultPath path, Throwable exception, SourceLocation sourceLocation) SerializationError
(ResultPath path, CoercingSerializeException exception) TypeMismatchError
(ResultPath path, GraphQLType expectedType) UnresolvedTypeError
(ResultPath path, ExecutionStepInfo info, UnresolvedTypeException exception) -
Uses of ResultPath in graphql.execution
Fields in graphql.execution declared as ResultPathModifier and TypeFieldDescriptionprivate final ResultPath
ResultPath.parent
(package private) ResultPath
ExecutionStepInfo.Builder.path
private final ResultPath
ExecutionStepInfo.path
A list element is characterized by having a path ending with an index segment.(package private) ResultPath
ExecutionStrategyParameters.Builder.path
private final ResultPath
ExecutionStrategyParameters.path
private final ResultPath
NonNullableFieldWasNullException.path
private static final ResultPath
ResultPath.ROOT_PATH
Fields in graphql.execution with type parameters of type ResultPathMethods in graphql.execution that return ResultPathModifier and TypeMethodDescriptionResultPath.append
(ResultPath path) Appends the provided path to the current oneResultPath.dropSegment()
Drops the last segment off the pathstatic ResultPath
This will create an execution path from the list of objectsResultPath.getParent()
DataFetcherExceptionHandlerParameters.getPath()
ExecutionStepInfo.getPath()
ExecutionStrategyParameters.getPath()
NonNullableFieldWasNullException.getPath()
ResultPath.getPathWithoutListEnd()
static ResultPath
Parses an execution path from the provided path string in the format /segment1/segment2[index]/segmentNResultPath.replaceSegment
(int segment) Replaces the last segment on the path eg ResultPath.parse("/a/b[1]").replaceSegment(9) equals "/a/b[9]"ResultPath.replaceSegment
(String segment) Replaces the last segment on the path eg ResultPath.parse("/a/b[1]").replaceSegment("x") equals "/a/b/x"static ResultPath
ResultPath.rootPath()
All paths start from hereResultPath.segment
(int segment) Takes the current path and adds a new segment to it, returning a new pathTakes the current path and adds a new segment to it, returning a new pathResultPath.sibling
(int siblingField) Methods in graphql.execution with parameters of type ResultPathModifier and TypeMethodDescriptionvoid
ExecutionContext.addError
(GraphQLError error, ResultPath fieldPath) This method will only put one error per field path.ResultPath.append
(ResultPath path) Appends the provided path to the current oneprivate static String
NonNullableFieldWasNullException.mkMessage
(ExecutionStepInfo executionStepInfo, ResultPath path) ExecutionStepInfoFactory.newExecutionStepInfoForListElement
(ExecutionStepInfo executionInfo, ResultPath indexedPath) ExecutionStepInfo.Builder.path
(ResultPath resultPath) ExecutionStrategyParameters.Builder.path
(ResultPath path) <T> T
NonNullableFieldValidator.validate
(ResultPath path, T result) Called to check that a value is non null if the type requires it to be non nullConstructors in graphql.execution with parameters of type ResultPathModifierConstructorDescriptionprivate
ExecutionStrategyParameters
(ExecutionStepInfo executionStepInfo, Object source, Object localContext, MergedSelectionSet fields, NonNullableFieldValidator nonNullableFieldValidator, ResultPath path, MergedField currentField, ExecutionStrategyParameters parent) NonNullableFieldWasNullException
(ExecutionStepInfo executionStepInfo, ResultPath path) private
ResultPath
(ResultPath parent, int segment) private
ResultPath
(ResultPath parent, String segment) -
Uses of ResultPath in graphql.execution.instrumentation.fieldvalidation
Fields in graphql.execution.instrumentation.fieldvalidation declared as ResultPathModifier and TypeFieldDescriptionprivate final ResultPath
FieldValidationSupport.FieldAndArgumentsImpl.path
Fields in graphql.execution.instrumentation.fieldvalidation with type parameters of type ResultPathModifier and TypeFieldDescriptionprivate final Map
<ResultPath, List<FieldAndArguments>> FieldValidationSupport.FieldValidationEnvironmentImpl.fieldArgumentsMap
private final Map
<ResultPath, BiFunction<FieldAndArguments, FieldValidationEnvironment, Optional<GraphQLError>>> SimpleFieldValidation.rules
Methods in graphql.execution.instrumentation.fieldvalidation that return ResultPathModifier and TypeMethodDescriptionFieldAndArguments.getPath()
FieldValidationSupport.FieldAndArgumentsImpl.getPath()
private ResultPath
FieldValidationSupport.FieldAndArgumentsImpl.mkPath
(QueryVisitorFieldEnvironment traversalEnv) Methods in graphql.execution.instrumentation.fieldvalidation that return types with arguments of type ResultPathModifier and TypeMethodDescriptionFieldValidationEnvironment.getFieldsByPath()
FieldValidationSupport.FieldValidationEnvironmentImpl.getFieldsByPath()
Methods in graphql.execution.instrumentation.fieldvalidation with parameters of type ResultPathModifier and TypeMethodDescriptionSimpleFieldValidation.addRule
(ResultPath fieldPath, BiFunction<FieldAndArguments, FieldValidationEnvironment, Optional<GraphQLError>> rule) Adds the rule against the field address path.Constructors in graphql.execution.instrumentation.fieldvalidation with parameters of type ResultPathModifierConstructorDescription(package private)
FieldAndArgError
(String message, Field field, ResultPath path) Constructor parameters in graphql.execution.instrumentation.fieldvalidation with type arguments of type ResultPathModifierConstructorDescription(package private)
FieldValidationEnvironmentImpl
(ExecutionContext executionContext, Map<ResultPath, List<FieldAndArguments>> fieldArgumentsMap) -
Uses of ResultPath in graphql.normalized
Methods in graphql.normalized with parameters of type ResultPathModifier and TypeMethodDescriptionExecutableNormalizedOperation.getNormalizedField
(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath) This will find aExecutableNormalizedField
given a merged field and a result path.