From 36ebbe0cf4078070c3a6710f2e1f781c03de3d1a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 29 Sep 2018 20:58:25 +0200 Subject: graphql: expose the new Timeline --- graphql/models/edges.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphql/models/edges.go') diff --git a/graphql/models/edges.go b/graphql/models/edges.go index 7de76edf..1dc42583 100644 --- a/graphql/models/edges.go +++ b/graphql/models/edges.go @@ -14,3 +14,8 @@ func (e BugEdge) GetCursor() string { func (e CommentEdge) GetCursor() string { return e.Cursor } + +// GetCursor return the cursor entry of an edge +func (e TimelineItemEdge) GetCursor() string { + return e.Cursor +} -- cgit