diff --git a/lib/graphql/client.ts b/lib/graphql/client.ts index eda090d..22f9dc1 100644 --- a/lib/graphql/client.ts +++ b/lib/graphql/client.ts @@ -10,6 +10,7 @@ function createClient() { cache: new InMemoryCache({ typePolicies: { Team: { fields: { stats: { merge: true } } }, + Match: { fields: { team1: { merge: true }, team2: { merge: true } } }, }, }), defaultOptions: { watchQuery: { fetchPolicy: 'cache-and-network' } },