Clarify ReviewerCandidate relationship to AssignableActor

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-02-13 13:45:00 -07:00
parent 72a6e9f3a7
commit ceb904413d

View file

@ -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