Title: FeatureFlag keyFilter only prefixes the first item when using a comma for multiple keys · Issue #262 · Azure/AppConfiguration-JavaScriptProvider · GitHub
Open Graph Title: FeatureFlag keyFilter only prefixes the first item when using a comma for multiple keys · Issue #262 · Azure/AppConfiguration-JavaScriptProvider
X Title: FeatureFlag keyFilter only prefixes the first item when using a comma for multiple keys · Issue #262 · Azure/AppConfiguration-JavaScriptProvider
Description: Hi, during our integration of Azure App Configuration using this sdk, we encountered the following bug. When filtering feature-flags using a keyFilter, the keyFilter is automatically prefixed with '.appconfig.featureflag/' (required to d...
Open Graph Description: Hi, during our integration of Azure App Configuration using this sdk, we encountered the following bug. When filtering feature-flags using a keyFilter, the keyFilter is automatically prefixed with ...
X Description: Hi, during our integration of Azure App Configuration using this sdk, we encountered the following bug. When filtering feature-flags using a keyFilter, the keyFilter is automatically prefixed with ...
Opengraph URL: https://github.com/Azure/AppConfiguration-JavaScriptProvider/issues/262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FeatureFlag keyFilter only prefixes the first item when using a comma for multiple keys","articleBody":"Hi, during our integration of Azure App Configuration using this sdk, we encountered the following bug.\n\nWhen filtering feature-flags using a keyFilter, the keyFilter is automatically prefixed with '.appconfig.featureflag/' (required to distinguish feature flags from other settings). According to the jsdoc comment for the keyFilter, it is possible to use a comma separated list to select multiple features, provided you spell out the entire feature-flag and don't use a wildcard. But when using a comma separated list, only the first item is prefixed. As a result only the first requested feature-flag is fetched.\n\nEXAMPLE\n```\nimport { load } from '@azure/app-configuration-provider'\nimport { DefaultAzureCredential } from '@azure/identity'\n\nconst credentials = new DefaultAzureCredential()\nconst appConfig = await load('URL_TO_APP_CONFIG', credentials, {\n featureFlagOptions: {\n enabled: true,\n selectors: [\n { keyFilter: 'FEATURE_1,FEATURE_2' }\n ],\n refresh: {\n enabled: true,\n },\n },\n})\n```\n\nEXPECTED BEHAVIOUR:\nBoth FEATURE_1 and FEATURE_2 flags are fetched\n\nACTUAL BEHAVIOUR:\nOnly FEATURE_1 is fetched\n\nWe confirmed this is a result of the automatic prefixing by manually inserting the prefix for all items except the first one. When we do that, all feature-flags are fetched.","author":{"url":"https://github.com/MitchelKerckhaert","@type":"Person","name":"MitchelKerckhaert"},"datePublished":"2026-01-12T16:24:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/262/AppConfiguration-JavaScriptProvider/issues/262"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c0904750-1c6c-bbc8-cb5b-14df1f8ed82d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9AA:92283:8E6E29:BDA400:698D6A47 |
| html-safe-nonce | 927f8a812d89903b9e36572b132442263100956bf4d084722b44ee26726f3b8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUFBOjkyMjgzOjhFNkUyOTpCREE0MDA6Njk4RDZBNDciLCJ2aXNpdG9yX2lkIjoiODQ3ODAwMDgwNDEyNzk3NTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8507bfce9e8de15cda106aa01f876b4498bff7d54c00a3e22c3824b9420d7a52 |
| hovercard-subject-tag | issue:3805047989 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Azure/AppConfiguration-JavaScriptProvider/262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2a9c6476bf970842b2d761f5277a275a9cbbe271db26a9662c4ec8c2a6341c6/Azure/AppConfiguration-JavaScriptProvider/issues/262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2a9c6476bf970842b2d761f5277a275a9cbbe271db26a9662c4ec8c2a6341c6/Azure/AppConfiguration-JavaScriptProvider/issues/262 |
| og:image:alt | Hi, during our integration of Azure App Configuration using this sdk, we encountered the following bug. When filtering feature-flags using a keyFilter, the keyFilter is automatically prefixed with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MitchelKerckhaert |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/Azure/AppConfiguration-JavaScriptProvider git https://github.com/Azure/AppConfiguration-JavaScriptProvider.git |
| octolytics-dimension-user_id | 6844498 |
| octolytics-dimension-user_login | Azure |
| octolytics-dimension-repository_id | 688057518 |
| octolytics-dimension-repository_nwo | Azure/AppConfiguration-JavaScriptProvider |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 688057518 |
| octolytics-dimension-repository_network_root_nwo | Azure/AppConfiguration-JavaScriptProvider |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width