fix(base): pass through table-list response and sort help#393
fix(base): pass through table-list response and sort help#393kongenpei merged 1 commit intolarksuite:mainfrom
Conversation
📝 WalkthroughWalkthroughThe pull request simplifies the Base table list API response format from a paginated structure with Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
kongenpei has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@d5510872e19b5e2c70825d432867c53d8f1bc366🧩 Skill updatenpx skills add kongenpei/lark-cli#fix-table-shortcut -y -g |
Summary
+table-listwas reshaping API output into synthetic fields instead of passing through the raw table payload.+view-set-sorthelp also still suggested the raw array form, so this change keeps the response raw and clarifies the CLI help towardsort_configusage.Changes
tablesdata frombase +table-listwithout addingitems,offset,limit, orcountbase +view-set-sortGo help/example to showsort_configobject usageTest Plan
lark xxxcommand works as expectedmake unit-testgo mod tidy(no changes togo.mod/go.sum)go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run --new-from-rev=origin/mainfailed locally due Go VCS stamping in this worktree (error obtaining VCS status)GOFLAGS=-buildvcs=false go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run --new-from-rev=origin/mainRelated Issues
Summary by CodeRabbit
Release Notes
Bug Fixes
Documentation
Tests