Some things I have encountered when working with Ecto in Phoenix projects.
This may sound like a lot of complaining, but I am listing things I keep running into that, on their own, don't amount to much, but together, frustrate me.
This may also expose things that I don't understand about Ecto and FP. And I ask that instead of telling me I'm wrong, you consider why I may have come to these conclusions. There's a chance others will as well.
Ultimately, the choice of how Ecto works is up to those that maintain it. Software is full of opinions. But here are the main things that keep coming up for me. And in my opinion, I find them uncomfortable.
- It's included by default now.
- When I generate a new project, Ecto is included in my
mix.exs
file and is brought in as a dependency. A default repository is created and configured to use PG. I understand that there's a way to opt out, but runningmix phoenix.new
with no arguments does not indicate how. (it's--no-ecto
.)