Title: GitHub · Where software is built
Open Graph Title: microsoft/FeatureManagement-JavaScript
X Title: microsoft/FeatureManagement-JavaScript
Description: This library provides standardized APIs for enabling feature flags within JavaScript applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more. - microsoft/FeatureManagement-JavaScript
Open Graph Description: This library provides standardized APIs for enabling feature flags within JavaScript applications. Utilize this library to secure a consistent experience when developing applications that use patte...
X Description: This library provides standardized APIs for enabling feature flags within JavaScript applications. Utilize this library to secure a consistent experience when developing applications that use patte...
Opengraph URL: https://github.com/microsoft/FeatureManagement-JavaScript
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add validation for feature flag definition","articleBody":"Feature flags are provided by IFeatureFlagProvider.\r\n\r\nhttps://github.com/microsoft/FeatureManagement-JavaScript/blob/b70bbd341107b4093632d7272418884b5138de16/src/featureProvider.ts#L7-L18\r\n\r\nWe have two impl of feature flag providers for map-based and object-based usage. Data source can be arbitrary data but none of them validate whether a feature flag is valid according to the schema, which is not as robust as expected.\r\n\r\nTwo follow-up actions:\r\n- In our built-in IFeatureFlagProvider impl, add validation and throw errors when data source itself is invalid.\r\n- As customers can impl their own provider (potentially provide invalid data), in our impl of public APIs like `isEnabled` and `getVariant`, we can add validation after getting a feature flag from the provider, ensure we don't encounter unexpected error later.\r\n","author":{"url":"https://github.com/Eskibear","@type":"Person","name":"Eskibear"},"datePublished":"2024-07-31T07:00:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/14/FeatureManagement-JavaScript/issues/14"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:77f8a82e-d9eb-06cb-1e2f-b0d35545a565 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9372:104998:13DEA89:1925D65:69917C2C |
| html-safe-nonce | 397e77df5e546ed0ea3c9cfe7384c5e5c807a55540bdf68fab47763a95b4e740 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzcyOjEwNDk5ODoxM0RFQTg5OjE5MjVENjU6Njk5MTdDMkMiLCJ2aXNpdG9yX2lkIjoiNzU0MDE4NTQ4MzU4Mzc4MTkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c82fcb9fe1b633f687947affe5c9dcbdca1c3f9472fc6066eff182d0445778dd |
| hovercard-subject-tag | repository:738639264 |
| 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/microsoft/FeatureManagement-JavaScript/issues/14 |
| twitter:image | https://opengraph.githubassets.com/ceb3b62a5489179e34e433e7cf0cb6cc2428a4f309a375edf544a95a13889f6c/microsoft/FeatureManagement-JavaScript |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ceb3b62a5489179e34e433e7cf0cb6cc2428a4f309a375edf544a95a13889f6c/microsoft/FeatureManagement-JavaScript |
| og:image:alt | This library provides standardized APIs for enabling feature flags within JavaScript applications. Utilize this library to secure a consistent experience when developing applications that use patte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width