|
|
|
|
|
by nesarkvechnep
1254 days ago
|
|
I like to use changesets for form validation, for example, but those changesets are different than the ones I use in my public API functions. Most of the time what I present to the user don’t map 1:1 to my Ecto schemas and it doesn’t have to. |
|
However, what you say about having different changesets for validation seems to make a ton of sense to me and has given me some ideas. Thanks.