From 7e14688ee06ea60f7fce21021ba1f42fa45d81b0 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 4 Nov 2025 11:32:47 +0100 Subject: [PATCH] fix(apollo): enable devtools configuration option Update the Apollo Client configuration to use the new devtools option instead of the deprecated connectToDevTools. This change ensures proper integration with development tools and maintains compatibility with future Apollo updates. --- app/plugins/apollo.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/plugins/apollo.ts b/app/plugins/apollo.ts index 5965cd6..bc7ea9e 100644 --- a/app/plugins/apollo.ts +++ b/app/plugins/apollo.ts @@ -88,7 +88,9 @@ const link = ]) const instance = new ApolloClient({ - connectToDevTools: true, + devtools: { + enabled: true, + }, link, cache, defaultOptions: { -- 2.52.0