Closed basilenouvellet closed 3 years ago
When Eventstore configuration is defined in config/runtime.exs (for example to load environment variables), the Mix task helper ensure_event_store!/2 needs to look at the runtime configuration as well.
config/runtime.exs
ensure_event_store!/2
The code change reflects what is being done by Ecto in ensure_repo/2.
ensure_repo/2
Thanks for the PR @BasileNouvellet.
When Eventstore configuration is defined in
config/runtime.exs
(for example to load environment variables), the Mix task helperensure_event_store!/2
needs to look at the runtime configuration as well.The code change reflects what is being done by Ecto in
ensure_repo/2
.