|
|
|
|
|
by zachallaun
1249 days ago
|
|
I don’t know what the person you’re responding to is getting at, but I found the article very useful! Exposing the changeset through the context is also useful in LiveViews when dealing with forms — once the changeset is valid, calling the relevant function with the same attrs should succeed. Re: the sibling comment referring to queries, nothing you’re doing in the article prevents that. Ecto’s changesets are often an unfamiliar concept, so I wonder if that’s where some confusion is coming from. |
|