summaryrefslogtreecommitdiffstatshomepage
path: root/api/graphql/models/edges.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-08-28 11:43:42 +0200
committerGitHub <noreply@github.com>2024-08-28 09:43:42 +0000
commit57e7147021e38b847213d4dc7f0e0bf0b022850d (patch)
tree882650697950003e2325f0815353032a8596ca1d /api/graphql/models/edges.go
parente45c3c5ee6dc5650fd8c3f480d9e09e5f3b221fd (diff)
downloadgit-bug-57e7147021e38b847213d4dc7f0e0bf0b022850d.tar.gz
git-bug-57e7147021e38b847213d4dc7f0e0bf0b022850d.zip
graphql: properly namespace Bug to make space for other entities (#1254)
Also: use gqlgen directives to help the type auto-binding Missing: - namespace mutations - adapt the webUI queries
Diffstat (limited to 'api/graphql/models/edges.go')
-rw-r--r--api/graphql/models/edges.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/graphql/models/edges.go b/api/graphql/models/edges.go
index 6a331e3e..95509970 100644
--- a/api/graphql/models/edges.go
+++ b/api/graphql/models/edges.go
@@ -11,12 +11,12 @@ func (e BugEdge) GetCursor() string {
}
// GetCursor return the cursor entry of an edge
-func (e CommentEdge) GetCursor() string {
+func (e BugCommentEdge) GetCursor() string {
return e.Cursor
}
// GetCursor return the cursor entry of an edge
-func (e TimelineItemEdge) GetCursor() string {
+func (e BugTimelineItemEdge) GetCursor() string {
return e.Cursor
}