aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/connections/gen_operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/connections/gen_operation.go')
-rw-r--r--graphql/connections/gen_operation.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/connections/gen_operation.go b/graphql/connections/gen_operation.go
index 3fbd724f..f9273f06 100644
--- a/graphql/connections/gen_operation.go
+++ b/graphql/connections/gen_operation.go
@@ -20,10 +20,10 @@ type OperationConMaker func(
edges []models.OperationEdge,
nodes []bug.Operation,
info models.PageInfo,
- totalCount int) (models.OperationConnection, error)
+ totalCount int) (*models.OperationConnection, error)
// OperationCon will paginate a source according to the input of a relay connection
-func OperationCon(source []bug.Operation, edgeMaker OperationEdgeMaker, conMaker OperationConMaker, input models.ConnectionInput) (models.OperationConnection, error) {
+func OperationCon(source []bug.Operation, edgeMaker OperationEdgeMaker, conMaker OperationConMaker, input models.ConnectionInput) (*models.OperationConnection, error) {
var nodes []bug.Operation
var edges []models.OperationEdge
var cursors []string