forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AppConfig] Preserve unknown setting JSON members (Azure#38450)
* [AppConfig] Preserve unknown setting JSON members The focus of these changes is to fix a bug where JSON members in the value for Feature Flags and Secret References which are not defined in the JSON schema were discarded. The schema itself allows for arbitrary JSON members, the Azure portal supports them in its advanced view, and the service documentation also refers to them. This change preserves unknown JSON attributes while allowing the well-known properties of the setting to override their associated JSON members. Constructor overloads that accept an ETag were also added to Feature Flags and Secret References. This aligns with ConfigurationSetting and allows use of the GetConfigurationSettingsAsync overload that accepts `onlyIfUnchanged`, which was previously not accessible for specialized settings.
- Loading branch information
Showing
10 changed files
with
718 additions
and
202 deletions.
There are no files selected for viewing
12 changes: 4 additions & 8 deletions
12
sdk/appconfiguration/Azure.Data.AppConfiguration/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.