Open v-xinda opened 1 year ago
Does the setting come back if you refresh again? Does the setting show up on the portal?
@alexweininger The setting doesn't come back after refreshing again, and the setting doesn't show up on the portal.
This is probably happening it because when we're updating the app settings, we're sending the whole JSON payload.
So when request 1 starts updating, request 2 is GETing the old app settings (which don't include setting 1 yet) and then sends a new JSON payload only consisting of setting 2 which immediately overwrite it.
There's a couple of ways that we can handle this:
OS: Win 10 Azure Resources extension: v0.6.3-alpha.0 Static Web Apps Extension Version: 20230330.4 Regression: Not a regression
Repro Steps:
Expect: Two settings don't disappear.
Actual: One setting created firstly disappears.![actual](https://user-images.githubusercontent.com/57662131/229045156-0b02a715-fcfe-46a7-9b70-5d98f438beaa.gif)