We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5107e9 commit 38580f5Copy full SHA for 38580f5
src/execution/execute.js
@@ -1347,10 +1347,13 @@ function _collectSubfields(
1347
returnType: GraphQLObjectType,
1348
fieldNodes: $ReadOnlyArray<FieldNode>,
1349
): FieldsAndPatches {
1350
- let subFieldsAndPatches = {};
1351
const subFieldNodes = Object.create(null);
1352
const visitedFragmentNames = Object.create(null);
1353
const subPatches = [];
+ let subFieldsAndPatches = {
1354
+ fields: subFieldNodes,
1355
+ patches: subPatches,
1356
+ };
1357
1358
for (const node of fieldNodes) {
1359
if (node.selectionSet) {
0 commit comments