Martin NijboerUsing Ecto changesets for JSON API request body validation.How to use Ecto.Changeset beyond the database context, and use it for API validation and translatable error messages as wellFeb 24, 2022Feb 24, 2022
Martin NijboerUsing Elixir’s “with” statement.Elixir has many features to make code readable, maintainable, and correct. One of them is the with statement. Unfortunately, the with…Dec 6, 2021Dec 6, 2021
Martin NijboerDeduplicating authentication and authorization tests in Elixir and Phoenix using macros.Writing the same tests over and over again is frustrating work. Yet that’s what happens when writing authentication and authorization…Oct 18, 2021Oct 18, 2021