Add instruments to local cache

This commit is contained in:
Ramon Wenger 2020-01-08 14:56:07 +01:00
parent 27b068e9ef
commit 01ab01a9e9
1 changed files with 1 additions and 0 deletions

View File

@ -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}),
}
}
});