chore: Upgrading graphql dependency (#21809)

This PR upgrades the Graphql dependency to the latest stable release.


Co-authored-by: Sumit Kumar <sumit@appsmith.com>
This commit is contained in:
Arpit Mohan 2023-04-14 16:36:50 +05:30 committed by GitHub
parent 9b37810c7b
commit 82607d0628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
<version>19.0</version>
<version>20.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>

View File

@ -277,9 +277,9 @@ public class GraphQLPluginTest {
StepVerifier.create(resultMono)
.verifyErrorSatisfies(error -> {
assertTrue(error instanceof AppsmithPluginException);
String expectedMessage = "Invalid GraphQL body: Invalid Syntax : There are more tokens in the " +
"query that have not been consumed offending token '}' at line 8 column 1";
assertTrue(expectedMessage.equals(error.getMessage()));
String expectedMessage = "Invalid GraphQL body: Invalid syntax encountered. There are extra " +
"tokens in the text that have not been consumed. Offending token '}' at line 8 column 1";
assertEquals(expectedMessage, error.getMessage());
});
}

View File

@ -51,7 +51,7 @@
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java</artifactId>
<version>19.0</version>
<version>20.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>