Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Features API and implementation. #14
Implement ability to enable, disable and query feature flags.
Features are identified as binary strings. Usage intent is for
The API has 3 functions:
Implementation is a thin wrapper around setting and deleting keys from the
referenced this pull request
Oct 6, 2016
Don't get me wrong about your effort for pushing this feature forward. I worry about all future oblivious improvements for this feature which aren't fit into current implementation. So it'll have to be changed and since it's a thing that users may use in own fashion, such changes may not be harmless.
They are discoverable. config:features() returns all feature flags.
Then we'll change the implementation. Where you thinking of a whole new application or other such thing?
So config true/false switches is how user may control features availability. I'm hard to image a case when I would shutdown some feature, but it looks useful.
So I take my words back, sorry for that.
I think new app is a good idea to group there all the features-related logic which will grow in time. For instance,