You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using this bundle for quite a while now - 🙌 - and we have many features that are not registered anymore in the bundle configuration, but still present in the database.
I was thinking about ways to clean obsolete (as in "now unregistered") features and this is what came to mind:
a CLI command to forget about a specific feature, like feature-toggles:forget my_feature
a CLI command to forget about all unregistered features, like feature-toggles:forget-all
Option 2 is clearly what I need, but maybe two high-level. Option 1 would a good start, but to be really helpful we would need a way to list all features in database, registered or not.
I think both options would need something like FeatureRegistry::getDefinitions() or listDefinitions() at some point.
What do you think?
The text was updated successfully, but these errors were encountered:
Hey @trompette
We have been using this bundle for quite a while now - 🙌 - and we have many features that are not registered anymore in the bundle configuration, but still present in the database.
I was thinking about ways to clean obsolete (as in "now unregistered") features and this is what came to mind:
feature-toggles:forget my_feature
feature-toggles:forget-all
Option 2 is clearly what I need, but maybe two high-level. Option 1 would a good start, but to be really helpful we would need a way to list all features in database, registered or not.
I think both options would need something like
FeatureRegistry::getDefinitions()
orlistDefinitions()
at some point.What do you think?
The text was updated successfully, but these errors were encountered: