From f55656ca67f65423cd4af96e76c6bc6101d46f78 Mon Sep 17 00:00:00 2001 From: William Martin Date: Wed, 18 Feb 2026 17:23:48 +0100 Subject: [PATCH] Remove pointer comments --- pkg/cmd/project/shared/queries/queries.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/cmd/project/shared/queries/queries.go b/pkg/cmd/project/shared/queries/queries.go index 15fd4634d..71b8fb5b1 100644 --- a/pkg/cmd/project/shared/queries/queries.go +++ b/pkg/cmd/project/shared/queries/queries.go @@ -617,24 +617,24 @@ func (c *Client) ProjectItems(o *Owner, number int32, limit int, queryStr string case UserOwner: variables["login"] = githubv4.String(o.Login) if queryStr == "" { - query = &userOwnerWithItemsNoQuery{} // must be a pointer to work with graphql queries + query = &userOwnerWithItemsNoQuery{} } else { - query = &userOwnerWithItems{} // must be a pointer to work with graphql queries + query = &userOwnerWithItems{} } queryName = "UserProjectWithItems" case OrgOwner: variables["login"] = githubv4.String(o.Login) if queryStr == "" { - query = &orgOwnerWithItemsNoQuery{} // must be a pointer to work with graphql queries + query = &orgOwnerWithItemsNoQuery{} } else { - query = &orgOwnerWithItems{} // must be a pointer to work with graphql queries + query = &orgOwnerWithItems{} } queryName = "OrgProjectWithItems" case ViewerOwner: if queryStr == "" { - query = &viewerOwnerWithItemsNoQuery{} // must be a pointer to work with graphql queries + query = &viewerOwnerWithItemsNoQuery{} } else { - query = &viewerOwnerWithItems{} // must be a pointer to work with graphql queries + query = &viewerOwnerWithItems{} } queryName = "ViewerProjectWithItems" } @@ -990,14 +990,14 @@ func (c *Client) ProjectFields(o *Owner, number int32, limit int) (*Project, err switch o.Type { case UserOwner: variables["login"] = githubv4.String(o.Login) - query = &userOwnerWithFields{} // must be a pointer to work with graphql queries + query = &userOwnerWithFields{} queryName = "UserProjectWithFields" case OrgOwner: variables["login"] = githubv4.String(o.Login) - query = &orgOwnerWithFields{} // must be a pointer to work with graphql queries + query = &orgOwnerWithFields{} queryName = "OrgProjectWithFields" case ViewerOwner: - query = &viewerOwnerWithFields{} // must be a pointer to work with graphql queries + query = &viewerOwnerWithFields{} queryName = "ViewerProjectWithFields" } err := c.doQueryWithProgressIndicator(queryName, query, variables)