diff options
Diffstat (limited to 'webui/src/apollo.ts')
-rw-r--r-- | webui/src/apollo.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webui/src/apollo.ts b/webui/src/apollo.ts index 99860842..c111dbd8 100644 --- a/webui/src/apollo.ts +++ b/webui/src/apollo.ts @@ -6,6 +6,12 @@ const client = new ApolloClient({ uri: '/graphql', cache: new InMemoryCache({ possibleTypes: introspectionResult.possibleTypes, + typePolicies: { + // TODO: For now, we only query the default repository, so consider it as a singleton + Repository: { + keyFields: [], + }, + }, }), }); |