From ceb904413dd8f7478bdc2a7dc1ab0acfd4ab2608 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Fri, 13 Feb 2026 13:45:00 -0700 Subject: [PATCH] Clarify ReviewerCandidate relationship to AssignableActor Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- api/queries_pr_review.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/queries_pr_review.go b/api/queries_pr_review.go index b233ee46f..e4deb7124 100644 --- a/api/queries_pr_review.go +++ b/api/queries_pr_review.go @@ -185,7 +185,10 @@ func (r ReviewRequests) DisplayNames() []string { } // ReviewerCandidate represents a potential reviewer for a pull request. -// This can be a User, Bot, or Team. +// This can be a User, Bot, or Team. It mirrors AssignableActor but adds +// team support (teams can review but not be assigned) and drops the ID method. +// ReviewerUser and ReviewerBot are thin wrappers around AssignableUser and +// AssignableBot that satisfy this interface. type ReviewerCandidate interface { DisplayName() string Login() string