Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a custom setting feature implementation #7

Open
nbatterham opened this issue Mar 23, 2022 · 0 comments
Open

Add a custom setting feature implementation #7

nbatterham opened this issue Mar 23, 2022 · 0 comments
Labels
enhancement New feature or request v1

Comments

@nbatterham
Copy link
Contributor

nbatterham commented Mar 23, 2022

A common feature check could be to use a custom setting which can then in turn be enabled per user/per profile or globally

One consideration is that for this to work - the feature setting will also need to define the api name of the custom setting being used as we cannot use a default like we did for CustomMetadataEnabledFeatures

One possible implementation will be to add a new field to Feature Setting Custom Metadata that must be populated if the implementation is the CustomSettingEnabledFeature. On top of this we will need to be able to pass this value once the FeatureSetting is instantiated - we could potentially use aMap<String, String> options parameter and add an interface method to set the options on all Feature implementations

@nbatterham nbatterham added enhancement New feature or request v1 labels Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1
Projects
None yet
Development

No branches or pull requests

1 participant