Skip to content

Add query parameters to GetRepositoryIssues - #85

Merged
SeanTAllen merged 1 commit into
mainfrom
add-issue-query-params
Feb 28, 2026
Merged

Add query parameters to GetRepositoryIssues#85
SeanTAllen merged 1 commit into
mainfrom
add-issue-query-params

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

GetRepositoryIssues and Repository.get_issues() now accept sort, direction, since, and per_page parameters. sort and direction use union types (IssueSort and SortDirection) for compile-time safety. All new parameters have defaults matching GitHub's API defaults, so existing callers are unaffected.

Closes #56
Design: #54

GetRepositoryIssues and Repository.get_issues() using typed unions
(IssueSort, SortDirection) for compile-time safety. All parameters
have defaults matching GitHub's API defaults, so existing callers
are unaffected.

Closes #56
@SeanTAllen SeanTAllen added the changelog - added Automatically add "Added" CHANGELOG entry on merge label Feb 28, 2026
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 28, 2026
@SeanTAllen
SeanTAllen merged commit 6ed8bef into main Feb 28, 2026
11 checks passed
@SeanTAllen
SeanTAllen deleted the add-issue-query-params branch February 28, 2026 20:07
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 28, 2026
github-actions Bot pushed a commit that referenced this pull request Feb 28, 2026
github-actions Bot pushed a commit that referenced this pull request Feb 28, 2026
SeanTAllen added a commit that referenced this pull request Feb 28, 2026
…dated/

SortByComments to disambiguate sort criteria from sort directions
(SortAscending/SortDescending). These types were introduced in PR #85 and
have not been released yet.

Closes #82
SeanTAllen added a commit that referenced this pull request Feb 28, 2026
…dated/

SortByComments to disambiguate sort criteria from sort directions
(SortAscending/SortDescending). These types were introduced in PR #85 and
have not been released yet.

Closes #82
SeanTAllen added a commit that referenced this pull request Feb 28, 2026
…dated/ (#86)

SortByComments to disambiguate sort criteria from sort directions
(SortAscending/SortDescending). These types were introduced in PR #85 and
have not been released yet.

Closes #82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog - added Automatically add "Added" CHANGELOG entry on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add additional query parameters to GetRepositoryIssues

2 participants