cli/pkg/cmd/discussion
Max Beizer 5db230b317
test(discussion): assert GQL variables, add Bot actor and limit>100 cases
- Replace false-positive filter tests with GraphQLQuery responders that
  assert on actual GQL variables (first, after, states, answered, orderBy,
  categoryId in List; query string qualifiers in Search)
- Add Bot actor test case (Bot.ID maps to DiscussionActor.ID, Name is empty)
- Add limit>100 test cases for both List and Search to verify the
  per-iteration first variable is set correctly (100 on page 1, remainder
  on page 2)
- Fix limit>100 bug in client_impl.go: move variables["first"] assignment
  inside the loop so each iteration caps at min(remaining, 100)
- Remove intStr helper; use strconv.Itoa directly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-22 16:36:07 -05:00
..
client test(discussion): assert GQL variables, add Bot actor and limit>100 cases 2026-04-22 16:36:07 -05:00
list fix(discussion list): include search keywords in web mode 2026-04-14 15:07:32 +01:00
shared fix(discussion/shared): deleted unused fields slice 2026-04-14 14:37:25 +01:00
discussion.go Address review feedback on discussion list PR 2026-04-13 10:20:09 -05:00