From 01ab01a9e9de4d017a6663be0adc0ddfaeb61c0c Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 8 Jan 2020 14:56:07 +0100 Subject: [PATCH] Add instruments to local cache --- client/src/graphql/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/graphql/client.js b/client/src/graphql/client.js index 7280a0e7..664216d5 100644 --- a/client/src/graphql/client.js +++ b/client/src/graphql/client.js @@ -53,6 +53,7 @@ export default function (uri) { // todo: remove, the new client seems to cache this correctly by itself // module: (_, args, {getCacheKey}) => getCacheKey({__typename: 'ModuleNode', id: args.id}), projectEntry: (_, args, {getCacheKey}) => getCacheKey({__typename: 'ProjectEntryNode', id: args.id}), + instrument: (_, args, {getCacheKey}) => getCacheKey({__typename: 'InstrumentNode', id: args.id}), } } });