aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/connections/connections.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-09-04 21:05:18 +0200
committerGitHub <noreply@github.com>2019-09-04 21:05:18 +0200
commit3ad2eeb5d07c14a039e0f0028b84033ff9b2c7db (patch)
tree84711541f4164f3c2a86e307732cc9e26e3d3618 /graphql/connections/connections.go
parentc4bebed2f2ad1e0ec673bbfbbe445bfad963453a (diff)
parent7df170939f2bad0f03b834dda5af1b55bd0d6830 (diff)
downloadgit-bug-3ad2eeb5d07c14a039e0f0028b84033ff9b2c7db.tar.gz
Merge pull request #214 from MichaelMure/label-connection
graphql: make repository.validLabels a connection
Diffstat (limited to 'graphql/connections/connections.go')
-rw-r--r--graphql/connections/connections.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphql/connections/connections.go b/graphql/connections/connections.go
index d82c5620..82ad2514 100644
--- a/graphql/connections/connections.go
+++ b/graphql/connections/connections.go
@@ -4,6 +4,7 @@
//go:generate genny -in=connection_template.go -out=gen_operation.go gen "Name=Operation NodeType=bug.Operation EdgeType=models.OperationEdge ConnectionType=models.OperationConnection"
//go:generate genny -in=connection_template.go -out=gen_comment.go gen "Name=Comment NodeType=bug.Comment EdgeType=models.CommentEdge ConnectionType=models.CommentConnection"
//go:generate genny -in=connection_template.go -out=gen_timeline.go gen "Name=TimelineItem NodeType=bug.TimelineItem EdgeType=models.TimelineItemEdge ConnectionType=models.TimelineItemConnection"
+//go:generate genny -in=connection_template.go -out=gen_label.go gen "Name=Label NodeType=bug.Label EdgeType=models.LabelEdge ConnectionType=models.LabelConnection"
// Package connections implement a generic GraphQL relay connection
package connections