Skip to content

Add whitelist #34

@Otanikotani

Description

@Otanikotani

Hello! Can we, in addition to excludeControllers and excludeProviders have similar includeControllers and includeProviders where we basically set up a whitelist of components we want to autospan? This is useful when we do not necessarily know the names of the providers and controllers (or can't list them in the configuration) that come from 3rd parties for instance.

We have a case when one of the third party modules generate providers which we would want to not to autospan but we can't use excludeProviders because the provider names are generated in the runtime.

In my view, blacklist overrides whitelist, so if both are specified it should be not autospanned.

Willing to make a PR for this, if needed! Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions