
Building APIs - EMX 181
Elixir Mix
00:00
Is Knego Dependency Injection a Good Idea?
Knego is an elixir version of dependency injection. It abstracts the way a part of your application behind the behavior and then inject implementation based on configuration. You could arguably also say I'm going to inject the module as an argument into the function, which is valid. Another good thing these days are services like Stripe who have a very good mock server.
Transcript
Play full episode