Skip to content

[24.x] Backport JSON and Object null-list fix - #220

Merged
andimarek merged 1 commit into
24.xfrom
codex/24x-json-null-lists
Nov 24, 2026
Merged

andimarek merged 1 commit into
24.xfrom
codex/24x-json-null-lists

Conversation

@andimarek

Copy link
Copy Markdown
Member

Backport #211 to 24.x: JSON and Object scalar literals such as [1, null, 2] preserve null elements instead of throwing an internal AssertException. The shared literal parser handles NullValue directly, including nested lists and lists inside objects.

Includes the original regression coverage for Object AST parsing and full GraphQL execution with the JSON scalar: null-only and mixed lists, nested lists, objects, top-level null, and variables. This is the same patch previously pushed directly to 24.x as 7448d88fe9b8ee80a26d6b4742fc5a00e6a632e7, preserved in archive/24.x-before-prs-2026-11-25; cherry-pick provenance links back to the original commit.

Validation: JAVA_HOME=<JDK 11> ./gradlew clean build passed on the 24.x Java 11 / Gradle 8.3 baseline; all 1,108 tests passed, with none skipped.

(cherry picked from commit c79bb8d)
(cherry picked from commit 7448d88)
@andimarek
andimarek merged commit 7f719e8 into 24.x Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant