rowyio / rowy

Low-code backend platform. Manage database on spreadsheet-like UI and build cloud functions workflows in JS/TS, all in your browser.
http://rowy.io
Other
5.94k stars 478 forks source link

fixed - JSON field update issue #1456

Closed iamanishroy closed 10 months ago

iamanishroy commented 10 months ago

Cause - the "setDoc" function with the {merge: true} option is invoked even when updating the JSON field, resulting in unnecessary merges.

Fix - modified to use "updateDoc" instead.

Note - The "setDoc" function is required while adding a new row. So, to address this, I introduced a new option where "useSet" can be explicitly specified. I added try-catch to run "setDoc" if "updateDoc" fails.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rowy-typedoc ✅ Ready (Inspect) Visit Preview Oct 30, 2023 5:39pm
vercel[bot] commented 10 months ago

@iamanishroy is attempting to deploy a commit to the Rowy Team on Vercel.

A member of the Team first needs to authorize it.