Message passing for actors and humans Hex Bob Package Status Page

Inject from your controller to decouple your contexts in Phoenix.

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 Ecto.Query.

https://polymorphic.productions/posts/inject-from-your-controller-to-decouple-your-contexts-in-phoenix