How to compose and refactor Ecto queries with Queries Modules
For a while, I’ve been looking for a perfect way to construct Ecto Queries. At Curiosum we came through a couple of iterations and eventually ended up with a solution that you may call resource-based query modules. Check it out: https://curiosum.dev/blog/composable-elixir-ecto-queries-modules