Last active
March 10, 2020 17:41
-
-
Save Nimrod007/843580c66ef973d6fb3b to your computer and use it in GitHub Desktop.
some feature toggle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"active" : true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dead Simple Feature Toggle
Sometimes you need a feature toggle in a rush … or just dont want to invest time in adding a feature toggle framework…
This thought came to me while I was working on some bot and had to protect myself with a feature toggle, problem was the bot was written with micro services, some in scala, some in java, some in php and even bash …
Main idea was to hold a centralised location with the feature toggle state, each service can obtain this state.
Ive made a list of the feature toggle requirement:
End result: