[JAVA-13976] Upgrade Spring Boot to 2.7.2 (#12603)

* [JAVA-13976] Upgrade Spring Boot to 2.7.2

* [JAVA-13976] Fix failing test due to incorrect Jackson version
This commit is contained in:
Haroon Khan
2022-08-22 18:17:32 +01:00
committed by GitHub
parent 553415e644
commit bea0209f39
43 changed files with 127 additions and 115 deletions

View File

@@ -36,12 +36,10 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -51,13 +49,12 @@
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-spring-boot-starter-test</artifactId>
<scope>test</scope>
<version>${graphql-spring-boot-starter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId>
<version>${jsonassert.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -65,7 +62,6 @@
<properties>
<graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version>
<graphql-java-tools.version>5.2.4</graphql-java-tools.version>
<jsonassert.version>1.5.0</jsonassert.version>
</properties>
</project>

View File

@@ -1,6 +1,6 @@
package com.baeldung.graphql.error.handling.exception;
import graphql.ErrorType;
import graphql.ErrorClassification;
import graphql.ExceptionWhileDataFetching;
import graphql.GraphQLError;
import graphql.language.SourceLocation;
@@ -27,7 +27,7 @@ public class GraphQLErrorAdapter implements GraphQLError {
}
@Override
public ErrorType getErrorType() {
public ErrorClassification getErrorType() {
return error.getErrorType();
}