Skip to content

Commit

Permalink
add TypePolicy to Fact (#1138)
Browse files Browse the repository at this point in the history
closes #995

enables apollo cache to work for 'stacked' 'spent' in /statistics page.
  • Loading branch information
itsrealfake committed May 3, 2024
1 parent 64de3c3 commit a34c8dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/apollo.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ function getClient (uri) {
}
}
},
Fact: {
keyFields: ['id', 'type']
},
Query: {
fields: {
sub: {
Expand Down

0 comments on commit a34c8dc

Please sign in to comment.