diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-30 11:00:39 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-30 11:03:42 +0200 |
commit | 037f5bf50b2bb2b020620413d186b6acf47a0b61 (patch) | |
tree | 6639ac6f8c53bcc4a27660ea92faff46974e98b2 /graphql/resolvers/root.go | |
parent | d450c7a883876e0f5356fb5cb54109a0a2a77dfd (diff) | |
download | git-bug-037f5bf50b2bb2b020620413d186b6acf47a0b61.tar.gz |
timeline: various minor improvements
Diffstat (limited to 'graphql/resolvers/root.go')
-rw-r--r-- | graphql/resolvers/root.go | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/graphql/resolvers/root.go b/graphql/resolvers/root.go index ff181784..2322edc7 100644 --- a/graphql/resolvers/root.go +++ b/graphql/resolvers/root.go @@ -32,10 +32,22 @@ func (RootResolver) AddCommentOperation() graph.AddCommentOperationResolver { return &addCommentOperationResolver{} } -func (r RootResolver) Bug() graph.BugResolver { +func (RootResolver) Bug() graph.BugResolver { return &bugResolver{} } +func (RootResolver) CommentHistoryStep() graph.CommentHistoryStepResolver { + return &commentHistoryStepResolver{} +} + +func (RootResolver) CommentTimelineItem() graph.CommentTimelineItemResolver { + return &commentTimelineItemResolver{} +} + +func (RootResolver) CreateTimelineItem() graph.CreateTimelineItemResolver { + return &createTimelineItemResolver{} +} + func (RootResolver) CreateOperation() graph.CreateOperationResolver { return &createOperationResolver{} } @@ -44,7 +56,7 @@ func (RootResolver) LabelChangeOperation() graph.LabelChangeOperationResolver { return &labelChangeOperation{} } -func (r RootResolver) Repository() graph.RepositoryResolver { +func (RootResolver) Repository() graph.RepositoryResolver { return &repoResolver{} } |