Skip to content

Commit

Permalink
fix: disable query deduplication
Browse files Browse the repository at this point in the history
  • Loading branch information
mirouse committed Aug 17, 2023
1 parent 7faacc6 commit 328e874
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 328e874

Please sign in to comment.