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 fbb75d3 commit bb67a19Copy full SHA for bb67a19
src/GraphQL/Buffers/EntityBuffer.php
@@ -71,7 +71,8 @@ public function resolveBufferArray(array $buffer) {
71
if (is_array($item['id'])) {
72
return array_reduce($item['id'], function ($carry, $current) use ($entities) {
73
if (!empty($entities[$current])) {
74
- return $carry + [$current => $entities[$current]];
+ array_push($carry, $entities[$current]);
75
+ return $carry;
76
}
77
78
return $carry;
0 commit comments