Skip to content

Commit 0f0b741

Browse files
committed
Downgrade graphql-java to 22
1 parent e6192de commit 0f0b741

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

graphql-builder/pom.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
<name>graphql-builder</name>
1818
<description>Builds a graphql schema from a model using reflection</description>
1919

20-
<parent>
21-
<groupId>com.phocassoftware</groupId>
22-
<artifactId>graphql-builder-parent</artifactId>
23-
<version>1.1.0-SNAPSHOT</version>
24-
</parent>
20+
<parent>
21+
<groupId>com.phocassoftware</groupId>
22+
<artifactId>graphql-builder-parent</artifactId>
23+
<version>1.1.0-SNAPSHOT</version>
24+
</parent>
2525

2626
<artifactId>graphql-builder</artifactId>
2727

28-
<properties>
29-
<junit.jupiter.version>5.12.2</junit.jupiter.version>
30-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31-
<jackson.version>2.19.0</jackson.version>
32-
<graphql.version>24.0</graphql.version>
33-
</properties>
28+
<properties>
29+
<junit.jupiter.version>5.12.2</junit.jupiter.version>
30+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31+
<jackson.version>2.19.0</jackson.version>
32+
<graphql.version>22.0</graphql.version>
33+
</properties>
3434

3535
<licenses>
3636
<license>
@@ -49,12 +49,12 @@
4949
<dependency>
5050
<groupId>com.graphql-java</groupId>
5151
<artifactId>graphql-java-extended-scalars</artifactId>
52-
<version>21.0</version>
52+
<version>${graphql.version}</version>
5353
</dependency>
5454
<dependency>
5555
<groupId>com.graphql-java</groupId>
5656
<artifactId>graphql-java-extended-validation</artifactId>
57-
<version>21.0</version>
57+
<version>${graphql.version}</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>org.reflections</groupId>

graphql-builder/src/test/java/com/phocassoftware/graphql/builder/DirectiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void testDirectiveArgumentDefinition() {
8989
List<LinkedHashMap<String, Object>> dir = (List<LinkedHashMap<String, Object>>) ((Map<String, Object>) response.get("__schema")).get("directives");
9090
LinkedHashMap<String, Object> input = dir.stream().filter(map -> map.get("name").equals("Input")).collect(Collectors.toList()).get(0);
9191

92-
assertEquals(32, dir.size());
92+
assertEquals(30, dir.size());
9393
assertEquals("ARGUMENT_DEFINITION", ((List<String>) input.get("locations")).get(0));
9494
assertEquals(1, ((List<Object>) input.get("args")).size());
9595
// getNickname(nickName: String! @Input(value : "TT")): String!

graphql-builder/src/test/java/com/phocassoftware/graphql/builder/JakartaValidationDirectiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void testJakartaSizeDirectiveArgumentDefinition() {
4242
List<LinkedHashMap<String, Object>> dir = (List<LinkedHashMap<String, Object>>) ((Map<String, Object>) response.get("__schema")).get("directives");
4343
LinkedHashMap<String, Object> constraint = dir.stream().filter(map -> map.get("name").equals("Size")).collect(Collectors.toList()).get(0);
4444

45-
assertEquals(32, dir.size());
45+
assertEquals(30, dir.size());
4646
assertEquals("ARGUMENT_DEFINITION", ((List<String>) constraint.get("locations")).get(0));
4747
assertEquals("INPUT_FIELD_DEFINITION", ((List<String>) constraint.get("locations")).get(1));
4848
assertEquals(5, ((List<Object>) constraint.get("args")).size());

0 commit comments

Comments
 (0)