Skip to content

Commit 4e53faf

Browse files
dariuszkucrstoyanchev
authored andcommitted
Upgrade federation-jvm to 5.0.0
Closes gh-972 Federation JVM v5 is now using `graphql-java` v22 which caused following breaking changes in behavior - Apollo `CacheControlInstrumentation` - was using old deprecated instrumentation methods so old version will not work with latest `spring-graphql` version - there was a breaking change in the schema printing behavior of `@deprecated` information - previously it was always included regardless whether printed schema was filtering `@deprecated` directive definition. This is an issue for folks relying on self-managed Federation that uses `_service { sdl }` endpoint to obtain subgraph schemas as the supergraph schema would no longer include any deprecation information.
1 parent 55482cc commit 4e53faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies {
3232
api("jakarta.validation:jakarta.validation-api:3.0.2")
3333
api("jakarta.persistence:jakarta.persistence-api:3.1.0")
3434

35-
api("com.apollographql.federation:federation-graphql-java-support:4.4.0")
35+
api("com.apollographql.federation:federation-graphql-java-support:5.0.0")
3636
api("com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-shared-core:6.1.5")
3737

3838
api("com.google.code.findbugs:jsr305:3.0.2")

0 commit comments

Comments
 (0)