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 046ac9f commit ac1ec27Copy full SHA for ac1ec27
src/execution/execute.js
@@ -1348,10 +1348,13 @@ function _collectSubfields(
1348
returnType: GraphQLObjectType,
1349
fieldNodes: $ReadOnlyArray<FieldNode>,
1350
): FieldsAndPatches {
1351
- let subFieldsAndPatches = {};
1352
const subFieldNodes = Object.create(null);
1353
const visitedFragmentNames = Object.create(null);
1354
const subPatches = [];
+ let subFieldsAndPatches = {
1355
+ fields: subFieldNodes,
1356
+ patches: subPatches,
1357
+ };
1358
1359
for (const node of fieldNodes) {
1360
if (node.selectionSet) {
0 commit comments