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
The reason why I want to do this is because there are specific feature flags I need to set in the config file, and there are other flags that I need to set during runtime, because they depend on things like who the user is. However, there is no way to succinctly set a bunch of variables at runtime without overwriting the ones that have already been set.
P.S. It might also be worth stating in the README that setup resets all flags that have been currently set. This wasn't immediately obvious.
The text was updated successfully, but these errors were encountered:
I have a similar need. I want to set default values for flags and then when user logs in, only overwrite flag values returned from the server rather than entire set. Perhaps unusually I need most of my flags to be enabled by default.
Since the setup code is pretty simple to emulate, it's not a big deal to roll my own that handles this use case. Just adding another data point.
Thanks for the work on the add-on, Katie and other contributors.
It would be really good if you could set feature flags in bulk without resetting the existing flags like
setup
does. Something like:The reason why I want to do this is because there are specific feature flags I need to set in the config file, and there are other flags that I need to set during runtime, because they depend on things like who the user is. However, there is no way to succinctly set a bunch of variables at runtime without overwriting the ones that have already been set.
P.S. It might also be worth stating in the README that
setup
resets all flags that have been currently set. This wasn't immediately obvious.The text was updated successfully, but these errors were encountered: