We often need to validate fields that are passed through a struct in Ecto Changesets. Custom validations are very straightforward to write and can be...
elixir