cli/pkg
Kynan Ware d643d5386e fix(pr edit): send empty slices to clear reviewers in replace mode
Always send explicit lists for userLogins, botLogins, and teamSlugs
in RequestReviewsByLogin mutation, even when empty. Previously, empty
slices were omitted due to omitempty JSON behavior and len > 0 checks,
which prevented clearing all reviewers when using replace mode.

Empty slices are harmless no-ops in union mode, so we now send them
unconditionally for simpler logic.

Add test to verify the mutation receives empty slices when all
reviewers are removed.
2026-01-29 10:37:11 -07:00
..
cmd fix(pr edit): send empty slices to clear reviewers in replace mode 2026-01-29 10:37:11 -07:00
cmdutil fix(factory): add PlainHttpClient to factory 2025-10-13 16:42:18 +01:00
extensions Remove Extension.FullName() from interface 2024-12-08 20:01:26 -05:00
findsh chore: apply go fix to remove deprecated // +build tags 2025-10-30 21:10:45 +00:00
githubtemplate Add issue create --editor 2024-07-09 21:01:50 +09:00
httpmock test(pkg/httpmock): ignore bodyclose on mock response value 2025-11-03 20:05:25 +00:00
iostreams chore: apply go fix to remove deprecated // +build tags 2025-10-30 21:10:45 +00:00
jsoncolor Wrap JSON arrays, objects in array with --slurp 2024-04-04 01:26:05 -07:00
jsonfieldstest Add tests for JSON field support on issue and pr view commands 2024-07-12 17:35:54 +02:00
markdown Allow user to override markdown wrap width via $GH_MDWIDTH from environment 2024-10-04 17:43:06 -07:00
option Rework ref usage when finding and creating PRs 2025-04-15 13:38:10 -06:00
search refactor(pkg/search): rename KeywordsVerbatim to ImmutableKeywords 2025-11-20 16:53:16 +00:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
ssh Minor nit suggestion 2024-11-06 16:12:55 -05:00
surveyext Unify use of tab indent in non-test source files 2024-08-03 00:35:30 +08:00