diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-21 18:18:51 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-21 18:53:37 +0200 |
commit | 82eaceffc1d750832a2a66f206749d2dca968cce (patch) | |
tree | 1431c8f1fd9baa689b850da7f104d12c20b1d8a7 /graphql | |
parent | 6a575fbf483e2b28821908f67e87637d9e5cea75 (diff) | |
download | git-bug-82eaceffc1d750832a2a66f206749d2dca968cce.tar.gz |
repo: split the Repo interface to avoid abstraction leak in RepoCache
Diffstat (limited to 'graphql')
-rw-r--r-- | graphql/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/handler.go b/graphql/handler.go index ed5047c4..1e8498c8 100644 --- a/graphql/handler.go +++ b/graphql/handler.go @@ -17,7 +17,7 @@ type Handler struct { *resolvers.RootResolver } -func NewHandler(repo repository.Repo) (Handler, error) { +func NewHandler(repo repository.ClockedRepo) (Handler, error) { h := Handler{ RootResolver: resolvers.NewRootResolver(), } |