aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/connections/gen_lazy_identity.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/connections/gen_lazy_identity.go')
-rw-r--r--graphql/connections/gen_lazy_identity.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/connections/gen_lazy_identity.go b/graphql/connections/gen_lazy_identity.go
index 28501171..8bb2097d 100644
--- a/graphql/connections/gen_lazy_identity.go
+++ b/graphql/connections/gen_lazy_identity.go
@@ -19,10 +19,10 @@ type LazyIdentityConMaker func(
edges []LazyIdentityEdge,
nodes []string,
info models.PageInfo,
- totalCount int) (models.IdentityConnection, error)
+ totalCount int) (*models.IdentityConnection, error)
// LazyIdentityCon will paginate a source according to the input of a relay connection
-func LazyIdentityCon(source []string, edgeMaker LazyIdentityEdgeMaker, conMaker LazyIdentityConMaker, input models.ConnectionInput) (models.IdentityConnection, error) {
+func LazyIdentityCon(source []string, edgeMaker LazyIdentityEdgeMaker, conMaker LazyIdentityConMaker, input models.ConnectionInput) (*models.IdentityConnection, error) {
var nodes []string
var edges []LazyIdentityEdge
var cursors []string