Inject from your controller to decouple your contexts in Phoenix.
Jan 6, 2019

In this post I will show you a simple pattern to decouple your Phoenix context so that you can specify from your controller how you want to preload your resource.

Read More