Post
I actually posted about this recently, just not here. genserver.social/notice/Ap4or...
genserver.socialPaweł Świątkowski (@katafrakt@genserver.social)A common folk wisdom in #Elixir (or actually Phoenix) is that you should never call Ecto repo functions directly from the controllers, but they should be encapsulated by a context. I disagree. Th...
think its really all that practical. You have to have tons of mapping layers between some concept of a thing and the implementation of the thing. Like if you have an event oriented architecture and your app wants to emit a notification and you want to make it in some way agnostic to the medium
0 reposts0 likes