diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index f86998c87..b607f5a6f 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -1350,9 +1350,6 @@ protected function executeFields(ObjectType $parentType, $rootValue, array $path $containsPromise = false; $results = []; foreach ($fields as $responseName => $fieldNodes) { - $fieldNodes = $fields[$responseName]; - assert($fieldNodes instanceof \ArrayObject, 'The keys of $fields populate $responseName'); - $fieldPath = $path; $fieldPath[] = $responseName;