We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bffa88 commit 28c2d0eCopy full SHA for 28c2d0e
src/AzureAppConfigurationImpl.ts
@@ -975,10 +975,11 @@ function getValidFeatureFlagSelectors(selectors?: SettingSelector[]): SettingSel
975
// selectors must be explicitly provided.
976
throw new Error("Feature flag selectors must be provided.");
977
} else {
978
- selectors.forEach(selector => {
+ const validSelectors = getValidSettingSelectors(selectors);
979
+ validSelectors.forEach(selector => {
980
selector.keyFilter = `${featureFlagPrefix}${selector.keyFilter}`;
981
});
- return getValidSettingSelectors(selectors);
982
+ return validSelectors;
983
}
984
985
0 commit comments