Modified FeatureManager to accept optional parameters for FeatureFilters and SessionManagers.#434
Conversation
…ers and SessionManagers.
|
@microsoft-github-policy-service agree |
|
@wenkepaul can you open up an issue so the problem can be discussed? |
|
@jimmyca15 issue 435 has been opened. |
|
/AzurePipeline run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Do you mean the |
|
@zhiyuanliang-ms For me in a |
|
@zhiyuanliang-ms was this superseded by #450 ? |
@jimmyca15 I think, yes. @wenkepaul I will close this PR. If you think the current solution still cannot meet your need, feel free to open an issue to track it. |
I'm working on a project which doesn't use IServiceCollection or C# 9, but would benefit from using this library. In order to do so, I need to be able to set the FeatureFilters property without using
init. This PR addsEnumerable<IFeatureFilterMetadata>andIEnumerable<ISessionManager>as optional parameters to the FeatureManager constructor and uses their existingEnumerable.Emptyas a fallback.