Commit a3244b6
committed
fix(fragmentArguments): arguments on directives for nested fields
Ports graphql-js 19b83f9f (#4180), a fixup to #4015: collect_subfields
did not thread the field's fragment_variables into the recursive
collect_fields_impl call, so directive arguments (@skip/@include) on
nested fields could not resolve fragment-scoped variables. The JS diff
also drops an unused fragmentVariableValues field from
CollectFieldsContext, which gc3's context never carried (N/A).1 parent 5b1855f commit a3244b6
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1327 | 1340 | | |
1328 | 1341 | | |
1329 | 1342 | | |
| |||
0 commit comments