Repository navigation
Prepare graphql java 26 nullability - #2356
Merged
Merged
Conversation
jiholee17
marked this pull request as ready for review
October 7, 2026 18:23
jiholee17
requested review from
asibross,
iparadiso,
iuliiasobolevska,
jjacobs44,
kilink,
kzwang,
paulbakker and
srinivasankavitha
as code owners
October 7, 2026 18:23
jjacobs44
approved these changes
Oct 7, 2026
3 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepare the Kotlin code and tests for the nullability changes in the upcoming GraphQL Java 26, Spring Boot 4.2, and Spring GraphQL 2.1 upgrade in #2352. This handles nullable API results and instrumentation callbacks and updates introspection tests for the new collection types.
User impact is none for standard usage, with changed failure and metric behavior for missing or malformed GraphQL data:
DgsContext.from(graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/context/DgsContext.kt:46) now throwsIllegalArgumentExceptionif the DGS context is missing.graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/federation/DefaultDgsFederationResolver.kt:248) now falls back to the class name if a custom mapping returns null.-noTypeCondition.The test assertion cleanup has no user impact.