The Blog

The lines in between

Inject from your controller to decouple your contexts in Phoenix
Apr 24, 2020

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.