diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-29 19:37:06 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-29 19:37:32 +0200 |
commit | c351cfd30d59c9179cc940f9ae15c461462e1a50 (patch) | |
tree | f2a218d26f350f265200e2ee89a1c94ca26fd770 /graphql/resolvers/repo.go | |
parent | 8fa0b258ac89781dae269790a4bde09cbcd2f324 (diff) | |
download | git-bug-c351cfd30d59c9179cc940f9ae15c461462e1a50.tar.gz |
graphql: directly return a connection, cleaning
Diffstat (limited to 'graphql/resolvers/repo.go')
-rw-r--r-- | graphql/resolvers/repo.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphql/resolvers/repo.go b/graphql/resolvers/repo.go index 14019b65..d8190f15 100644 --- a/graphql/resolvers/repo.go +++ b/graphql/resolvers/repo.go @@ -4,6 +4,7 @@ import ( "context" "github.com/MichaelMure/git-bug/bug" "github.com/MichaelMure/git-bug/cache" + "github.com/MichaelMure/git-bug/graphql/models" ) type repoResolver struct { @@ -11,7 +12,7 @@ type repoResolver struct { repo cache.RepoCacher } -func (repoResolver) AllBugs(ctx context.Context, obj *repoResolver, input ConnectionInput) (BugConnection, error) { +func (repoResolver) AllBugs(ctx context.Context, obj *repoResolver, input models.ConnectionInput) (models.BugConnection, error) { panic("implement me") } |