cli/pkg/cmd/api
Mislav Marohnić d26cd64745 Support GraphQL operationName in gh api command
GraphQL supports supplying multiple queries in the `query` parameter,
but an additional `operationName` parameter is then required to select
the query to execute.

Previously, it was impossible to pass `operationName` since it would get
serialized under `variables`, but it needs to be a top-level parameter.
With this change, `operationName` is a special GraphQL parameter name
just like `query` already is.
2020-07-29 16:47:33 +02:00
..
api.go Support GraphQL operationName in gh api command 2020-07-29 16:47:33 +02:00
api_test.go api --silent Changes: 2020-06-30 19:18:28 +05:30
http.go Support GraphQL operationName in gh api command 2020-07-29 16:47:33 +02:00
http_test.go Support GraphQL operationName in gh api command 2020-07-29 16:47:33 +02:00
pagination.go Automatically add per_page=100 to paginated REST requests 2020-06-23 18:42:57 +02:00
pagination_test.go Automatically add per_page=100 to paginated REST requests 2020-06-23 18:42:57 +02:00