Skip to content

Commit

Permalink
Merge pull request #790 from edhgoose/patch-1
Browse files Browse the repository at this point in the history
Fixes #789 - pass the full query to the executor
  • Loading branch information
mcg-web committed Dec 22, 2020
2 parents fea0e7e + 896df98 commit b35750c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/GraphController.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private function processBatchQuery(Request $request, $schemaName = null)

foreach ($queries as $query) {
$payload = $this->requestExecutor
->execute($schemaName, ['query' => $query['query'], 'variables' => $query['variables']])
->execute($schemaName, $query)
->toArray();
if (!$this->useApolloBatchingMethod) {
$payload = ['id' => $query['id'], 'payload' => $payload];
Expand Down

0 comments on commit b35750c

Please sign in to comment.