microsoft / FeatureManagement-Dotnet

Microsoft.FeatureManagement provides standardized APIs for enabling feature flags within applications. Utilize this library to secure a consistent experience when developing applications that use patterns such as beta access, rollout, dark deployments, and more.
MIT License
1.03k stars 111 forks source link

Consider making IFeatureSettingsProvider public #46

Closed pardahlman closed 4 years ago

pardahlman commented 4 years ago

There are many system in the wild that uses other feature toggling frameworks that does not load its data from IConfiguration, nor has a data source that can be used as a ConfigurationProvider. The idea behind making IFeatureSettingsProvider public is that these systems could use a custom implementation as part of their migration story over to this toggle framework.

slomangino123 commented 4 years ago

Looking into a way to feature flag api endpoints easily I stumbled across the same issue as @pardahlman. As such we are looking for a way to toggle feature flags without using IConfiguration but rather a third party service. Being able to provide a decorated IFeatureSettingsProvider would allow sourcing feature flags from anywhere.

josephwoodward commented 4 years ago

Came here to say the same thing. It'd be great to be able to use this library for more than IConfiguration based datasources (such as other feature toggling services like LaunchDarkly). Making this interface public would enable that.

jimmyca15 commented 4 years ago

This has been added in the latest release.