Azure / Azure/AppConfiguration-DotnetProvider

Determine whether ConfigurationSetting is special type

Open
#711 0 comments 1 reaction 1 assignee Claimed by @linglingye001 View on GitHub
Dominant language
C#
Stars
93
Forks
46
Avg merge
3d 1h
Merged PRs (30d)
3

Description

It seems like .NET SDK exposes the following types: [SecretReferenceConfigurationSetting](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Models/SecretReferenceConfigurationSetting.cs) and [FeatureFlagConfigurationSetting](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Models/FeatureFlagConfigurationSetting.cs)

[Examples](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/appconfiguration/Azure.Data.AppConfiguration/samples/Sample10_SecretReference.md#retrieve-a-secret-reference)

Currently, the .NET provider hard-coded the feature flag prefix and content types of snapshot reference, secret reference and feature flag and use them to parse the configuration setting type manually.

The better way is to use the APIs from .NET SDK to parse the configuration setting.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.