parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.39k forks source link

Add atomic update for Cloud Config parameter #2568

Open mtrezza opened 4 months ago

mtrezza commented 4 months ago

New Feature / Enhancement Checklist

Current Limitation

Even with https://github.com/parse-community/parse-dashboard/issues/2567, there is always the possibility of race conditions, especially when a Cloud Config param is updated programmatically at high frequency, while a human is editing the param via dashboard.

Feature / Enhancement Description

For Cloud Config params of type Array, add the possibility of atomic updates. Atomic update should be an additional option. The possibility of overwriting the whole array should remain the default operation, which is what the current edit dialog does.

Parse Server already supports atomic update for array fields, so this should be easy to implement.

parse-github-assistant[bot] commented 4 months ago

Thanks for opening this issue!