MCPcopy Create free account
hub / github.com/cli/cli / Query

Method Query

pkg/cmd/project/shared/queries/queries.go:107–110  ·  view source on GitHub ↗
(operationName string, query any, variables map[string]any)

Source from the content-addressed store, hash-verified

105}
106
107func (c *Client) Query(operationName string, query any, variables map[string]any) error {
108 err := c.apiClient.Query(operationName, query, variables)
109 return handleError(err)
110}
111
112// PageInfo is a PageInfo GraphQL object https://docs.github.com/en/graphql/reference/objects#pageinfo.
113type PageInfo struct {

Callers

nothing calls this directly

Calls 2

handleErrorFunction · 0.85
QueryMethod · 0.65

Tested by

no test coverage detected