-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Sometimes the addition of a new feature within an application might require altered/new configuration. This configuration is scoped to the feature itself and should not pollute the overall configuration of the application. A method should be established to allow applications to pull settings from the configuration system that may be altered based on a specific feature and whether it is enabled/disabled.
E.g. something like
{
"MaxRequests": "100",
"MaxRetries": "10",
"FeatureManagement": {
"Beta": {
"EnabledFor": [
{
"Name": "Percentage",
"Parameters": {
"Value": "50"
}
}
],
"Configuration': {
"MaxRequests:" 500
}
}
}
Getting configuration normally would yield expected results
IConfiguration config;
config["MaxRequests"] // 100
config["MaxRetries"] // 10
Getting configuration with respect to the Beta feature would yield something like
IConfiguration betaAwareConfig
config["Maxrequests"] // 500
config["MaxRetries"] // 10
zepedrosilva, rowe0x, sarvasana, amerjusupovic and bbrandt
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Generally Available (Done)