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!
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!