Skip to content

Commit 840f2c8

Browse files
authored
fix(caching): Take operation into account for cache prefix (#1365) (#1366)
1 parent 1017cbc commit 840f2c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GraphQL/Execution/Executor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ protected function cachePrefix() {
356356
'query' => DocumentSerializer::serializeDocument($this->document),
357357
'variables' => $variables,
358358
'extensions' => $extensions,
359+
'operation' => $this->operation,
359360
]));
360361

361362
return $hash;

0 commit comments

Comments
 (0)