Title: getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object · Issue #74 · microsoft/FeatureManagement-JavaScript · GitHub
Open Graph Title: getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object · Issue #74 · microsoft/FeatureManagement-JavaScript
X Title: getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object · Issue #74 · microsoft/FeatureManagement-JavaScript
Description: When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object In FeatureManagement-JavaScript/src/schema/validator.ts Line 8 in 8fe0efd export function validateFeatu...
Open Graph Description: When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object In FeatureManagement-JavaScript/src/schema/validator.ts Line 8 ...
X Description: When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object In FeatureManagement-JavaScript/src/schema/validator.ts Line 8 ...
Opengraph URL: https://github.com/microsoft/FeatureManagement-JavaScript/issues/74
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object","articleBody":"When calling `getFeatureFlags` on `ConfigurationMapFeatureFlagProvider` the call fails becaus the code call treats array as single object\n\nIn https://github.com/microsoft/FeatureManagement-JavaScript/blob/8fe0efd0d923f1f24364f53a5b20702c1f923f0f/src/schema/validator.ts#L8\n\nIn featureProvider.ts\nhttps://github.com/microsoft/FeatureManagement-JavaScript/blob/8fe0efd0d923f1f24364f53a5b20702c1f923f0f/src/featureProvider.ts#L30\n\nThe same `validateFeatureFlag` function is called with both a single `FeatureFlag` and array of `FeatureFlag` but the function doesn't handle arrays.\n\n\n\n","author":{"url":"https://github.com/strickie","@type":"Person","name":"strickie"},"datePublished":"2024-12-18T12:57:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/74/FeatureManagement-JavaScript/issues/74"}
| 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:1451f0d2-2fc0-81b9-1053-96847c0ebc2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADD6:1BFE9C:DA909D:12CBE5A:698E1A14 |
| html-safe-nonce | b63c8c9a7cfe856a3ad1dc1e50a49c9e38ce26e14a83180642feb7dd1843563f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQ2OjFCRkU5QzpEQTkwOUQ6MTJDQkU1QTo2OThFMUExNCIsInZpc2l0b3JfaWQiOiI2MTM1MTg5NTE3OTkxMDI1MTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 19b5a4c396a36b649a3df45a925ca627a4f4ffe5f426a01e82ebc4a29b0daea7 |
| hovercard-subject-tag | issue:2747749931 |
| 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/microsoft/FeatureManagement-JavaScript/74/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f7cb82b31396841df23b476bb2d5516dcafe56c65f1f8269e5f922333ae64a1/microsoft/FeatureManagement-JavaScript/issues/74 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f7cb82b31396841df23b476bb2d5516dcafe56c65f1f8269e5f922333ae64a1/microsoft/FeatureManagement-JavaScript/issues/74 |
| og:image:alt | When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object In FeatureManagement-JavaScript/src/schema/validator.ts Line 8 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | strickie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/FeatureManagement-JavaScript git https://github.com/microsoft/FeatureManagement-JavaScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 738639264 |
| octolytics-dimension-repository_nwo | microsoft/FeatureManagement-JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 738639264 |
| octolytics-dimension-repository_network_root_nwo | microsoft/FeatureManagement-JavaScript |
| 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 | 301a1d7743177dcb7528b1322117cdafeda8ff08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width