add TypePolicy to Fact (#1138)

closes #995

enables apollo cache to work for 'stacked' 'spent' in /statistics page.
This commit is contained in:
itsrealfake 2024-05-03 19:35:16 +00:00 committed by GitHub
parent 64de3c3b94
commit a34c8dc7e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ function getClient (uri) {
} }
} }
}, },
Fact: {
keyFields: ['id', 'type']
},
Query: { Query: {
fields: { fields: {
sub: { sub: {