How to use dependency injection pattern in Elixir?

I’ve find this https://www.djm.org.uk/posts/writing-extensible-elixir-with-behaviours-adapters-pluggable-backends/ article, but do not know, if it is the right way.

1 Like