aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/models
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-23 21:24:57 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-23 21:24:57 +0200
commit0514edad1a6ee06902841e0c903fc2a2119b7e95 (patch)
tree104279a8939034ab163cac9bfc124166d001dda7 /graphql/models
parente7648996c8f278d061fe03a5c4d255049da765e5 (diff)
downloadgit-bug-0514edad1a6ee06902841e0c903fc2a2119b7e95.tar.gz
cache: maintain, write and load from disk bug excerpts
Diffstat (limited to 'graphql/models')
-rw-r--r--graphql/models/models.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphql/models/models.go b/graphql/models/models.go
index e55dfb3e..dfe3a29f 100644
--- a/graphql/models/models.go
+++ b/graphql/models/models.go
@@ -12,11 +12,11 @@ type ConnectionInput struct {
}
type Repository struct {
- Cache cache.Cacher
- Repo cache.RepoCacher
+ Cache *cache.RootCache
+ Repo *cache.RepoCache
}
type RepositoryMutation struct {
- Cache cache.Cacher
- Repo cache.RepoCacher
+ Cache *cache.RootCache
+ Repo *cache.RepoCache
}