Closed ghost closed 2 years ago
This has been discussed a few times on the fun_with_flags repo. It's happening because you've changed your config without recompiling the dependency. Try with the latest version.
It's happening because you've changed your config without recompiling the dependency.
I haven't, it's happening in a fresh install right after compilation.
For reference:
iex(3)> Application.get_all_env(:fun_with_flags)
[
persistence: [
adapter: FunWithFlags.Store.Persistent.Ecto,
repo: App.Repo,
ecto_table_name: "fun_with_flags_toggles"
],
cache_bust_notifications: [
enabled: false
]
]
iex(4)> Application.get_all_env(:fun_with_flags)[:persistence]
[
adapter: FunWithFlags.Store.Persistent.Ecto,
repo: App.Repo,
ecto_table_name: "fun_with_flags_toggles"
]
Related issue: https://github.com/tompave/fun_with_flags/issues/109
I haven't, it's happening in a fresh install right after compilation.
It seems unlikely. Have you tried this? https://github.com/tompave/fun_with_flags/tree/v1.6.0#configuration-changes-have-no-effect-in-mix_envdev
And, have you tried the latest version of fun with flags?
Getting
for an app setup like this: