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 StringExceptionWhileDataFetching.mkMessage(ResultPath path, Throwable exception) private StringSerializationError.mkMessage(ResultPath path, CoercingSerializeException exception) private StringTypeMismatchError.mkMessage(ResultPath path, GraphQLType expectedType) private StringUnresolvedTypeError.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 ResultPathResultPath.parent(package private) ResultPathExecutionStepInfo.Builder.pathprivate final ResultPathExecutionStepInfo.pathA list element is characterized by having a path ending with an index segment.(package private) ResultPathExecutionStrategyParameters.Builder.pathprivate final ResultPathExecutionStrategyParameters.pathprivate final ResultPathNonNullableFieldWasNullException.pathprivate static final ResultPathResultPath.ROOT_PATHFields 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 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 oneprivate static StringNonNullableFieldWasNullException.mkMessage(ExecutionStepInfo executionStepInfo, ResultPath path) ExecutionStepInfoFactory.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 ResultPathModifierConstructorDescriptionprivateExecutionStrategyParameters(ExecutionStepInfo executionStepInfo, Object source, Object localContext, MergedSelectionSet fields, NonNullableFieldValidator nonNullableFieldValidator, ResultPath path, MergedField currentField, ExecutionStrategyParameters parent) NonNullableFieldWasNullException(ExecutionStepInfo executionStepInfo, ResultPath path) privateResultPath(ResultPath parent, int segment) privateResultPath(ResultPath parent, String segment) -
Uses of ResultPath in graphql.execution.instrumentation.fieldvalidation
Fields in graphql.execution.instrumentation.fieldvalidation declared as ResultPathModifier and TypeFieldDescriptionprivate final ResultPathFieldValidationSupport.FieldAndArgumentsImpl.pathFields in graphql.execution.instrumentation.fieldvalidation with type parameters of type ResultPathModifier and TypeFieldDescriptionprivate final Map<ResultPath, List<FieldAndArguments>> FieldValidationSupport.FieldValidationEnvironmentImpl.fieldArgumentsMapprivate final Map<ResultPath, BiFunction<FieldAndArguments, FieldValidationEnvironment, Optional<GraphQLError>>> SimpleFieldValidation.rulesMethods in graphql.execution.instrumentation.fieldvalidation that return ResultPathModifier and TypeMethodDescriptionFieldAndArguments.getPath()FieldValidationSupport.FieldAndArgumentsImpl.getPath()private ResultPathFieldValidationSupport.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 aExecutableNormalizedFieldgiven a merged field and a result path.