Open bittner opened 3 years ago
I figured that it's possible to create a toggle without any attribute, but then you have to set one using a valid key in order to update the toggle on the Admin UI. That feels a bit inconsistent.
is_active
key is supposed to be used for case you have mentioned. or is there something I am missing?
Noted. will update the docs for start_date and end_date
Currently, we have 4 choices the "key", which represents the type of feature toggle:
What seems to be missing is a simple "on/off" value, a boolean to turn a feature on or off.
Also, from the existing 4 attributes, only
start_date
andend_date
are described in the docs. It would be nice to have their roles explained. The concept is a bit hard to grasp at the moment.As a workaround and for simplicity, we have settled to use the
is_active
method as a boolean value. This is probably not what you designed it for. :smirk: