I’ve been trying my hand at Elixir recently. And I was wondering what’s the right approach to using Ecto changetsets in the context of later having new data to add to it.
Since it seems once a changeset has been marked as invalid because of a failed rule, it’s impossible to make it revalidate (is it possible? I couldn’t find a function for it).
So my question is as follows:
Is it the right approach to just create a new changeset and run the existing + new data through it instead of trying to add to an existing changeset?