Closed iamanishroy closed 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 |
@iamanishroy is attempting to deploy a commit to the Rowy Team on Vercel.
A member of the Team first needs to authorize it.
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.