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.06k stars 115 forks source link

Expose ConfigurationFeatureDefinitionProvider to public #318

Closed zhiyuanliang-ms closed 1 year ago

zhiyuanliang-ms commented 1 year ago

We have exposed FeatureManager to public, which make it possible to use Feature Management in other third-party DI container frameworks. Currently, when our user wants to use Feature Management in other DI container (e.g. Autofac), they need to implement their own IFeatureDefinitionProvider and register it into DI container because the built-in ConfigurationDefinitionProvider is an internal class. To provide more convenience for our users, I think it will be very helpful to expose ConfigurationFeatureDefinitionProvider to public so that users can use it directly.