Repository navigation
Commit 54bb6c2
Fix dataloader dispatch in @defer with multiple deferred fragments
Use mergedFields.size() (per-fragment field count) instead of
deferredFields.size() (total across all fragments) when constructing
AlternativeCallContext. The inflated count prevented dispatch strategies
from ever triggering dispatch since each fragment only fetches its own
fields.
Fixes the bug introduced in graphql-java#3980.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d9c873d commit 54bb6c2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | 131 | | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
0 commit comments