Skip to content

Feature request: Set of IFeatureFilters applied to all features #89

@CodeBlanch

Description

@CodeBlanch

Request

I have a custom IFeatureFilter I would like to apply automatically to all features in my application. I don't see a way to do this, short of building a custom IFeatureDefinitionProvider. No problem building an IFeatureDefinitionProvider, it's just unfortunate because the ConfigurationFeatureDefinitionProvider has everything I need besides that. Would it make sense to expose such a feature?

Proposal

Via configuration:

"FeatureManagement": {
   "Default": {
        "EnabledFor": [
            { "Name": "CustomFilter" },
            { "Name": "CustomFilterWithParameters", "Parameters": { "Param1": "Value1" } }
        ]
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions