cli/api
Des Preston 8f9548fd37
Ignore scope suggestions for http 422 (#4809)
HTTP 422 messages are for validation errors, but OAUTH permissions
suggestions get printed anyways. Most times, the user probably has the
right permissions. This fix adds the check to avoid printing a confusing
message.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-12-01 18:13:48 +00:00
..
cache.go Allow caching HTTP 204 responses 2021-03-01 16:04:34 +01:00
cache_test.go spelling: response 2020-11-21 21:43:51 -05:00
client.go Ignore scope suggestions for http 422 (#4809) 2021-12-01 18:13:48 +00:00
client_test.go Ignore scope suggestions for http 422 (#4809) 2021-12-01 18:13:48 +00:00
export_pr.go Remove unnecessary pointers to Go maps 2021-10-25 17:20:12 +02:00
export_pr_test.go Export more IDs in issue/pr JSON payload 2021-05-18 18:19:28 +02:00
export_repo.go Remove unnecessary pointers to Go maps 2021-10-25 17:20:12 +02:00
pull_request_test.go Fix preloading of pr reviews, checks, and issue/pr comments 2021-05-18 17:13:27 +02:00
queries_comments.go Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
queries_issue.go Improve issue view re: overfetching, PR support 2021-11-24 18:49:36 +01:00
queries_org.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
queries_pr.go Accept pull requests in issue edit argument 2021-11-23 20:39:19 +01:00
queries_pr_review.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
queries_pr_test.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
queries_repo.go Repace shurcool/graphql with cli/shurcool-graphql 2021-11-17 12:57:43 -08:00
queries_repo_test.go Improve issue view re: overfetching, PR support 2021-11-24 18:49:36 +01:00
queries_user.go [Feature] Create repository from template 2020-08-27 14:46:16 -04:00
query_builder.go Improve issue view re: overfetching, PR support 2021-11-24 18:49:36 +01:00
query_builder_test.go Fix broken GraphQL queries due to editing Author struct 2021-05-18 18:35:34 +02:00
reaction_groups.go Eliminate API overfetching in pr commands 2021-04-30 20:34:36 +02:00
reaction_groups_test.go Address PR comments 2020-12-08 10:24:02 -05:00