We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4191710 commit db670e9Copy full SHA for db670e9
src/execution/collectFields.ts
@@ -134,14 +134,16 @@ export function collectSubfields(
134
const newDeferUsages: Array<DeferUsage> = [];
135
136
for (const fieldDetail of fieldGroup) {
137
- const node = fieldDetail.node;
138
- if (node.selectionSet) {
+ const selectionSet = fieldDetail.node.selectionSet;
+ if (selectionSet) {
139
+ const { deferUsage, fragmentVariables } = fieldDetail;
140
collectFieldsImpl(
141
context,
- node.selectionSet,
142
+ selectionSet,
143
subGroupedFieldSet,
144
newDeferUsages,
- fieldDetail.deferUsage,
145
+ deferUsage,
146
+ fragmentVariables,
147
);
148
}
149
0 commit comments