Skip to content

Commit

Permalink
Bump com.graphql-java:graphql-java from 21.3 to 22.1 (#956)
Browse files Browse the repository at this point in the history
* Bump com.graphql-java:graphql-java from 21.3 to 22.1

Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 21.3 to 22.1.
- [Release notes](https://github.com/graphql-java/graphql-java/releases)
- [Commits](graphql-java/graphql-java@v21.3...v22.1)

---
updated-dependencies:
- dependency-name: com.graphql-java:graphql-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use custom graphql map type

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michel ten Voorde <michel.tenvoorde@kadaster.nl>
  • Loading branch information
dependabot[bot] and Michel ten Voorde committed Jun 27, 2024
1 parent 820a440 commit 7f36b3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import static org.mockito.Mockito.when;

import graphql.Scalars;
import graphql.collect.ImmutableMapWithNullValues;
import graphql.execution.ExecutionStepInfo;
import graphql.execution.MergedField;
import graphql.execution.ResultPath;
Expand Down Expand Up @@ -213,7 +214,7 @@ void createObjectRequest_returnsObjectRequestWithKeyCriteria_forBreweryWithKey()
var executionStepInfo = newExecutionStepInfo().fieldDefinition(breweryFieldDefinition)
.fieldContainer(objectType)
.type(breweryFieldDefinition.getType())
.arguments(() -> Map.of("identifier", "id-1"))
.arguments(() -> ImmutableMapWithNullValues.copyOf(Map.of("identifier", "id-1")))
.parentInfo(queryExecutionStepInfo)
.build();

Expand Down Expand Up @@ -266,7 +267,7 @@ void createObjectRequest_returnsObjectRequestWithKeyCriteriaAndSelections_forInt
.fieldContainer(objectType)
.field(mergedField)
.type(baseObjectFieldDefinition.getType())
.arguments(() -> Map.of("identifier", "id-1"))
.arguments(() -> ImmutableMapWithNullValues.copyOf(Map.of("identifier", "id-1")))
.parentInfo(queryExecutionStepInfo)
.build();

Expand Down Expand Up @@ -312,7 +313,7 @@ void createObjectRequest_returnsObjectRequestWithKeyCriteriaWithoutSelections_fo
var executionStepInfo = newExecutionStepInfo().fieldDefinition(baseObjectFieldDefinition)
.fieldContainer(objectType)
.type(baseObjectFieldDefinition.getType())
.arguments(() -> Map.of("identifier", "id-1"))
.arguments(() -> ImmutableMapWithNullValues.copyOf(Map.of("identifier", "id-1")))
.parentInfo(queryExecutionStepInfo)
.build();

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring-boot.version>3.3.1</spring-boot.version>
<rdf4j.version>4.3.12</rdf4j.version>
<graphql.java.version>21.3</graphql.java.version>
<graphql.java.version>22.1</graphql.java.version>
<graphql.java.orchestrate.version>0.2.2</graphql.java.orchestrate.version>
<commons.jexl3.version>3.4.0</commons.jexl3.version>
<commons.text.version>1.12.0</commons.text.version>
Expand Down

0 comments on commit 7f36b3e

Please sign in to comment.