From 6e8496f4c1767ca8a8b95716a04f1b492bef7397 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Tue, 9 Apr 2019 17:43:17 +0200 Subject: Support gqlgen v0.8.3 --- graphql/connections/gen_identity.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphql/connections/gen_identity.go') diff --git a/graphql/connections/gen_identity.go b/graphql/connections/gen_identity.go index 2ba2f98f..6c1e7137 100644 --- a/graphql/connections/gen_identity.go +++ b/graphql/connections/gen_identity.go @@ -20,10 +20,10 @@ type IdentityConMaker func( edges []models.IdentityEdge, nodes []identity.Interface, info models.PageInfo, - totalCount int) (models.IdentityConnection, error) + totalCount int) (*models.IdentityConnection, error) // IdentityCon will paginate a source according to the input of a relay connection -func IdentityCon(source []identity.Interface, edgeMaker IdentityEdgeMaker, conMaker IdentityConMaker, input models.ConnectionInput) (models.IdentityConnection, error) { +func IdentityCon(source []identity.Interface, edgeMaker IdentityEdgeMaker, conMaker IdentityConMaker, input models.ConnectionInput) (*models.IdentityConnection, error) { var nodes []identity.Interface var edges []models.IdentityEdge var cursors []string -- cgit