Open thdxr opened 5 years ago
Following up on this, is a GenServer even necessary?
I would also be interested by that change. We use Confex in our project and unfortunately because of the current implementation it won't work.
I have a use-case that involves hitting two vault servers. Could really use this. Would a PR be accepted?
Absolutely. Most of the recent changes have come from PRs.
Instead of reading the application configuration once and caching it in a GenServer, it should be read on demand when a request is made. This fits normal Elixir convention and doesn't depend on configuration being set in an explicit order.
More information on this concept here: https://michal.muskala.eu/2017/07/30/configuring-elixir-libraries.html