Skip to content

Commit

Permalink
Merge pull request #1454 from vuestorefront/fix/disable-query-dedupli…
Browse files Browse the repository at this point in the history
…cation

fix: disable query deduplication
  • Loading branch information
bartoszherba authored Aug 17, 2023
2 parents 7faacc6 + 328e874 commit c375e7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/brave-badgers-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-storefront/magento-api": patch
---

Turn off query deduplication to prevent any potential session leaks.
2 changes: 1 addition & 1 deletion packages/api-client/src/helpers/magentoLink/graphQl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const apolloClientFactory = (customOptions: Record<string, any>) =>
possibleTypes,
resultCaching: true,
}),
queryDeduplication: true,
queryDeduplication: false,
ssrMode: true,
...customOptions,
});

0 comments on commit c375e7e

Please sign in to comment.