fix: set maxVersions default value not work#7
Conversation
Signed-off-by: Kevin Cui <bh@bugs.cc>
Summary by CodeRabbit
WalkthroughThree operator files are modified to change the location where the default Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Areas requiring attention:
Pre-merge checks❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🔇 Additional comments (3)
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 |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes bugs in three operators where maxVersions was being incorrectly assigned to the input options object instead of the payload object that gets encoded and sent to the server.
- Changed assignment from
options.maxVersionstopayload.maxVersionsin GetRow and GetRange operators - Changed assignment from
table.maxVersionstop.maxVersionsin BatchGetRow operator
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/operator/get-row.ts | Fixed incorrect assignment of maxVersions to options instead of payload |
| src/operator/get-range.ts | Fixed incorrect assignment of maxVersions to options instead of payload |
| src/operator/batch-get-row.ts | Fixed incorrect assignment of maxVersions to table instead of the p payload object |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.