Commit 5d023ddb authored by Jacques's avatar Jacques

Add unique keyField for Blob types

Adds webPath as keyField for Blob types to avoid Apollo caching issues

Changelog: fixed
parent 315d88d9
...@@ -47,6 +47,9 @@ export const typePolicies = { ...@@ -47,6 +47,9 @@ export const typePolicies = {
DesignCollection: { DesignCollection: {
merge: true, merge: true,
}, },
TreeEntry: {
keyFields: ['webPath'],
},
}; };
export const stripWhitespaceFromQuery = (url, path) => { export const stripWhitespaceFromQuery = (url, path) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment