Skip to content

fix(cli): collect every page of nested tag list responses - #5902

Open
Yzzz88 wants to merge 3 commits into
Tencent:mainfrom
Yzzz88:fix/nested-tag-pagination
Open

Yzzz88 wants to merge 3 commits into
Tencent:mainfrom
Yzzz88:fix/nested-tag-pagination

Conversation

@Yzzz88

@Yzzz88 Yzzz88 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

The tags endpoint wraps its pagination metadata alongside the records under data. api --paginate treated this response as an ordinary object and silently emitted only the first page. Recognize the nested page while retaining the existing flat and raw response paths.

Verification

go test -count=1 -run "TestAPI_Paginate" ./cmd/api in the CLI module.

This branch has not been deployed

No deployments
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