mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #643] [MERGED] fix(asc): validate relationship mutation inputs #674
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#674
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/643
Author: @rudrankriyam
Created: 2/18/2026
Status: ✅ Merged
Merged: 2/18/2026
Merged by: @rudrankriyam
Base:
main← Head:fix/relationship-mutation-validation📝 Commits (1)
a46145ffix(asc): validate relationship mutation inputs📊 Changes
6 files changed (+292 additions, -4 deletions)
View changed files
📝
internal/asc/client.go(+14 -0)📝
internal/asc/client_builds.go(+18 -0)📝
internal/asc/client_game_center_activities.go(+40 -4)➕
internal/asc/client_relationship_mutations_validation_test.go(+198 -0)📝
internal/asc/client_users.go(+18 -0)📝
internal/asc/encryption.go(+4 -0)📄 Description
What
Add input validation to relationship mutation helpers so they fail fast when required IDs/lists are missing (instead of issuing malformed requests).
Touched areas:
Adds a regression test to ensure invalid inputs return errors without making any HTTP requests.
Why
Enterprise/CI usage benefits from predictable, local validation and avoids confusing server-side errors caused by empty path segments or empty linkage payloads.
Test Plan
make formatmake lintASC_BYPASS_KEYCHAIN=1 make test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.