feat(base): support per-record batch updates#1889
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThe PR documents two mutually exclusive Base record batch update payloads: shared ChangesBase record batch update
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1889 +/- ##
=======================================
Coverage 74.66% 74.66%
=======================================
Files 877 878 +1
Lines 91731 91764 +33
=======================================
+ Hits 68494 68520 +26
- Misses 17926 17930 +4
- Partials 5311 5314 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@8f4cb8966752e6fcdc33ee6e36fb2671f3c41c90🧩 Skill updatenpx skills add larksuite/cli#feat/batch-update-records-map -y -g |
Summary
Add an update_records map to base record-batch-update so each record can receive different field values in one request while preserving the existing shared-fields mode.
Changes
Test Plan
Related Issues
Summary by CodeRabbit
base +record-batch-updatesupports per-record field updates viaupdate_records(record ID → fields) alongside the sharedrecord_id_list+patchmode; the two input shapes are mutually exclusive.--jsonexamples and guidance for both update modes, including how emptydatamay be returned.