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 TypeMethodDescriptionGraphQLError.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
Methods 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 ResultPathThis will create an execution path from the list of objectsResultPath.getParent()DataFetcherExceptionHandlerParameters.getPath()ExecutionStepInfo.getPath()ExecutionStrategyParameters.getPath()NonNullableFieldWasNullException.getPath()ResultPath.getPathWithoutListEnd()static ResultPathParses 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 ResultPathResultPath.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 TypeMethodDescriptionvoidExecutionContext.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 oneExecutionStepInfoFactory.newExecutionStepInfoForListElement(ExecutionStepInfo executionInfo, ResultPath indexedPath) ExecutionStepInfo.Builder.path(ResultPath resultPath) ExecutionStrategyParameters.Builder.path(ResultPath path) <T> TNonNullableFieldValidator.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 ResultPathModifierConstructorDescriptionNonNullableFieldWasNullException(ExecutionStepInfo executionStepInfo, ResultPath path) -
Uses of ResultPath in graphql.execution.instrumentation.fieldvalidation
Methods in graphql.execution.instrumentation.fieldvalidation that return ResultPathMethods in graphql.execution.instrumentation.fieldvalidation that return types with arguments of type ResultPathMethods 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. -
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 aExecutableNormalizedFieldgiven a merged field and a result path.