(Ab)using Ecto as Elixir data casting and validation library
The article shows how to use Ecto changesets outside database-backed models to cast user input, validate it, and return either an action-ready changeset or typed data for service modules and forms.