Skip to content

Commit

Permalink
Fix issue accessing mutations from devtools (#11946)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller authored Jul 10, 2024
1 parent d9f9d15 commit 7d833b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-rings-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/client": patch
---

Fix issue where mutations were not accessible by Apollo Client Devtools in 3.11.0-rc.0.
4 changes: 2 additions & 2 deletions .size-limits.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dist/apollo-client.min.cjs": 40179,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32973
"dist/apollo-client.min.cjs": 40185,
"import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32977
}
2 changes: 1 addition & 1 deletion src/core/ApolloClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export class ApolloClient<TCacheShape> implements DataProxy {
localState: this.localState,
assumeImmutableResults,
onBroadcast:
connectToDevTools ?
this.devtoolsConfig.enabled ?
() => {
if (this.devToolsHookCb) {
this.devToolsHookCb({
Expand Down

0 comments on commit 7d833b8

Please sign in to comment.