8000 Removed deprecated methods in ValidationError by bbakerman · Pull Request #3517 · graphql-java/graphql-java · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions src/main/java/graphql/validation/ValidationError.java
46CD
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,6 @@ public class ValidationError implements GraphQLError {
private final List<String> queryPath = new ArrayList<>();
private final ImmutableMap<String, Object> extensions;

@Deprecated(since = "2022-07-10", forRemoval = true)
public ValidationError(ValidationErrorClassification validationErrorType) {
this(newValidationError()
.validationErrorType(validationErrorType));
}

@Deprecated(since = "2022-07-10", forRemoval = true)
public ValidationError(ValidationErrorClassification validationErrorType, SourceLocation sourceLocation, String description) {
this(newValidationError()
.validationErrorType(validationErrorType)
.sourceLocation(sourceLocation)
.description(description));
}

@Deprecated(since = "2022-07-10", forRemoval = true)
public ValidationError(ValidationErrorType validationErrorType, SourceLocation sourceLocation, String description, List<String> queryPath) {
this(newValidationError()
.validationErrorType(validationErrorType)
.sourceLocation(sourceLocation)
.description(description)
.queryPath(queryPath));
}

@Deprecated(since = "2022-07-10", forRemoval = true)
public ValidationError(ValidationErrorType validationErrorType, List<SourceLocation> sourceLocations, String description) {
this(newValidationError()
.validationErrorType(validationErrorType)
.sourceLocations(sourceLocations)
.description(description));
}

@Deprecated(since = "2022-07-10", forRemoval = true)
public ValidationError(ValidationErrorType validationErrorType, List<SourceLocation> sourceLocations, String description, List<String> queryPath) {
this(newValidationError()
.validationErrorType(validationErrorType)
.sourceLocations(sourceLocations)
.description(description)
.queryPath(queryPath));
}

private ValidationError(Builder builder) {
this.validationErrorType = builder.validationErrorType;
this.description = builder.description;
Expand Down
0