Skip to content

fix!: upgrade to graphql-kotlin v10 and graphql-java v25#179

Merged
danadajian merged 2 commits into
mainfrom
renovate/major-dependencies
Jun 5, 2026
Merged

fix!: upgrade to graphql-kotlin v10 and graphql-java v25#179
danadajian merged 2 commits into
mainfrom
renovate/major-dependencies

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrades all com.expediagroup:graphql-kotlin-* dependencies and the Gradle plugin from v9.2.0 to v10.0.0, which transitively pulls in graphql-java v25.0
  • Breaking change: graphql-java 25 annotates DataFetcherResult with @NullMarked (JSpecify), causing Kotlin to enforce T : Any on the type parameter. Generated code now uses non-nullable type arguments (e.g. DataFetcherResult<String> instead of DataFetcherResult<String?>). Null data is still returned at runtime via @Nullable getData() — the GraphQL schema nullability contract is unchanged.
  • Consumers with hand-written subclass overrides whose return types used nullable DataFetcherResult type arguments (e.g. DataFetcherResult<String?>) will need to update those signatures after regenerating.

@danadajian danadajian enabled auto-merge (squash) June 5, 2026 14:16
@renovate renovate Bot force-pushed the renovate/major-dependencies branch from 266b3e9 to bc51f61 Compare June 5, 2026 14:18
… graphql-java 25 @NullMarked

DataFetcherResult<T> is now @NullMarked in graphql-java 25.0, so Kotlin
infers T : Any. Nullable fields still return null at runtime via the
@nullable getData() method.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@danadajian danadajian disabled auto-merge June 5, 2026 15:03
@danadajian danadajian changed the title Update dependencies from v9.2.0 to v10 BREAKING CHANGE: Update graphql-kotlin to v10 Jun 5, 2026
@danadajian danadajian merged commit 1db1309 into main Jun 5, 2026
1 check passed
@danadajian danadajian deleted the renovate/major-dependencies branch June 5, 2026 15:07
danadajian pushed a commit that referenced this pull request Jun 5, 2026
BREAKING CHANGE: DataFetcherResult type arguments are now non-nullable to comply with graphql-java 25 @NullMarked annotation
@danadajian danadajian changed the title BREAKING CHANGE: Update graphql-kotlin to v10 fix!: upgrade to graphql-kotlin v10 and graphql-java v25 Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant