Skip to content

fix(pull_requests): add author_association to MinimalPullRequest#2369

Open
Will-hxw wants to merge 1 commit intogithub:mainfrom
Will-hxw:fix/2250-add-author-association-to-pr
Open

fix(pull_requests): add author_association to MinimalPullRequest#2369
Will-hxw wants to merge 1 commit intogithub:mainfrom
Will-hxw:fix/2250-add-author-association-to-pr

Conversation

@Will-hxw
Copy link
Copy Markdown

Summary

  • Add AuthorAssociation field to MinimalPullRequest struct in REST API path
  • Set field via pr.GetAuthorAssociation() in convertToMinimalPullRequest()
  • Fixes REST path for list_pull_requests and pull_request_read

Test plan

  • go build ./... passes
  • Manual testing with REST API responses containing author_association

Related

🤖 Generated with Claude Code

Fixes Issue github#2250 - REST path for pull_requests was missing
AuthorAssociation field. The GraphQL path was fixed in PR github#2265
but the REST path via convertToMinimalPullRequest() was not updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Will-hxw Will-hxw requested a review from a team as a code owner April 23, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant