2 ms·
Man, there are things I like about Ecto but for anything beyond simple selects the documentation is lacking and the experience is kind of painful. As an exampl
by bpicolo 10y ago
Man, there are things I like about Ecto but for anything beyond simple selects the documentation is lacking and the experience is kind of painful.
As an example, I hit the issue recently where a changeset wouldn't accept nil for a relation via put_assoc. That seemed like an very trivial problem to be hitting for a project that's been around so long. And I hit a number of issues that had that sort of feeling.
Another thing was that, if you update a thing with new relation data, you have to force-reload the relationships from the database again. That was pretty surprising and seemed like it should be unnecessary.
I think there's room for an Ecto alternative that tries to be a bit less fancy and gains a lot because of it.