3 ms·
We used feature flags to update "live" code but using if conditions based on hard coded test user/client ids. I wrote everything necessary to respect a databas
by Ntrails 10y ago
We used feature flags to update "live" code but using if conditions based on hard coded test user/client ids. I wrote everything necessary to respect a database flag instead but that never made it out of a test db whilst features kept being added behind "id" based flags.
So now to remove said flags you just hunt through code for the special id string and remove the "no" branches. Oh, and for Gods sake don't accidentally make the wrong thing live.
Flawless.