score:0

figured out the problem was cache.identify was not needed at all! i just had to fix the inmemorycahce at the index.tsx

const client = new apolloclient({
  uri: "http://localhost:8080/graphql",
  cache: new inmemorycache({
    typepolicies: {
      people: {
        keyfields: ["email"],
      },
    },
  }),
});

this made things easier on getting the right index.


Related Query

More Query from same tag