Conversation
…'data' - Changed data assignment from 'map[\"data\"] ?? map' to 'map' in Row.fromMap constructor - This fixes the TypeError that occurred when a table had a column named 'data' - Added comprehensive tests to verify the fix and prevent regressions - Fixes appwrite#281"
…data - Changed data assignment to use complete map instead of data field - This fixes TypeError when table has column named data - Added tests to verify the fix - Fixes appwrite#281
WalkthroughThis change modifies the Row model's deserialization logic in Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🔇 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 |
|
This library is auto-generated by the Appwrite SDK Generator, and does not accept pull requests directly. To learn more about how you can help us improve this SDK, please check the contributing guide. |
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
Summary by CodeRabbit
Bug Fixes
Tests