Skip to content

Preserve omitted deferred fields in initial results - #759

Merged
gnawf merged 3 commits into
masterfrom
fix-null-defer-merging
Nov 5, 2026
Merged

gnawf merged 3 commits into
masterfrom
fix-null-defer-merging

Conversation

@gnawf

@gnawf gnawf commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Avoid inserting nulls for deferred root fields and namespaced children before their incremental payloads arrive.

Avoid inserting nulls for deferred root fields and namespaced children before their incremental payloads arrive. Add integration and merger coverage; mixed deferred/non-deferred selections remain covered by three failing unit cases.
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Test Results

  654 files  +  654    654 suites  +654   1m 7s ⏱️ + 1m 7s
2 221 tests +2 221  1 670 ✅ +1 670  551 💤 +551  0 ❌ ±0 
2 229 runs  +2 229  1 678 ✅ +1 678  551 💤 +551  0 ❌ ±0 

Results for commit 2d7107b. ± Comparison against base commit 5291c95.

♻️ This comment has been updated with latest results.

result = """
| {
| "data": {
| "details": null

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bugs lol

val topLevelField = topLevelFields.first { it.resultKey == topLevelResultKey.value }
if (topLevelField.deferredExecutions.isNotEmpty()) {
continue
}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not consider deferred fields for this

@gnawf
gnawf merged commit 829bee4 into master Nov 5, 2026
7 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.

2 participants