Your context module has 30 query functions. It needs five
I wrote about a pattern for trimming oversized Elixir context modules down to a smaller, clearer API. The goal is to make queries easier to find, easier to reason about, and harder to misuse without losing the flexibility you need in a real codebase.
Read next Unkey Elixir SDK — API key management for Elixir applications
