© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago
cherub

supabase graphql mutations not updating apollo cache for queries

Hi all, I am following this tutorial: https://supabase.com/docs/guides/graphql/with-apollo and applying it to my own application.

In my apolloClient, I make sure to set the cache id for nodes as nodeId from supabase. However, it doesn't automatically update the apollo cache as expected and I have to do a manual cache modify in my mutations. Has anyone experienced this before? I'm new to GraphQL and apollo so I'm not sure if I'm doing something wrong.

Thank you!
With Apollo | Supabase Docs
Using pg_grapqhl with Apollo.
With Apollo | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase GraphQL Live Queries
SupabaseSSupabase / help-and-questions
13mo ago
Apollo Client and Supabase
SupabaseSSupabase / help-and-questions
3y ago
Graphql with supabase
SupabaseSSupabase / help-and-questions
4y ago
Updating Supabase
SupabaseSSupabase / help-and-questions
8mo ago