mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[PR #428] [MERGED] Issue 426 refactor #519
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/428
Author: @rudrankriyam
Created: 2/5/2026
Status: ✅ Merged
Merged: 2/5/2026
Merged by: @rudrankriyam
Base:
main← Head:cursor/issue-426-refactor-7e7f📝 Commits (3)
62a2ebbHarden test infrastructure and split internal/asc packagec2777bdFix typed nil pointer panic in pagination752fb6bMerge pull request #429 from rudrankriyam/cursor/pagination-nil-pointer-panic-a6a7📊 Changes
28 files changed (+1509 additions, -1031 deletions)
View changed files
➕
.github/workflows/integration.yml(+44 -0)📝
internal/asc/accessibility.go(+3 -3)📝
internal/asc/app_events.go(+53 -53)📝
internal/asc/beta_recruitment.go(+8 -7)📝
internal/asc/client.go(+42 -42)📝
internal/asc/client_builds.go(+5 -5)📝
internal/asc/client_pagination.go(+43 -522)➕
internal/asc/client_pagination_test.go(+564 -0)📝
internal/asc/client_types.go(+224 -278)📝
internal/asc/game_center_activities.go(+42 -42)📝
internal/asc/game_center_challenges.go(+16 -16)📝
internal/asc/game_center_groups.go(+3 -3)📝
internal/asc/game_center_matchmaking.go(+32 -32)📝
internal/asc/iap.go(+3 -3)📝
internal/asc/output_app_events.go(+5 -5)📝
internal/asc/retry_log_test.go(+0 -1)📝
internal/asc/review_submission_items.go(+2 -2)📝
internal/asc/subscription_grace_periods.go(+4 -4)➕
internal/asc/types/resources.go(+322 -0)📝
internal/cli/cmdtest/error_hints_test.go(+0 -1)...and 8 more files
📄 Description
Refactor pagination logic to use reflection, extract core types, and add comprehensive test coverage.
This PR addresses Issue 426 by:
PaginateAllwith reflection, eliminating the maintenance burden for new response types.internal/asc/types/with backward-compatible type aliases, improving code organization.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.