Subscribe for only $15 to access all of our content

#77: Validating API Parameters Part 2

In episode 76 we saw one way of validating our API request parameters with Ecto changesets. While using schemaless Ecto changesets in this way is a great way to provide validation, I wanted to take a look at another way of doing this, using the Params package. Params is a simple wrapper around Ecto.Schema that helps you reduce a lot of the boilerplate of defining Ecto schema’s and changesets.

Join to Subscribe

More Episodes

Alchemist's Edition

#107: Shopping Cart Part 1

There are many ready-made ecommerce solutions, but sometimes you need to write your own. In this episode we’ll start building custom shopping cart functionality into an existing application with OTP.

Watch episode

#106: Intro to Structs

In this episode we’ll get an introduction to Elixir structs. Great for anyone just getting started with Elixir.

Watch episode

#105: How to Create Nested Phoenix Templates

By default, Phoenix doesn’t precompile templates in nested directories. In this episode we’ll see how we can update Phoenix to let us use templates in nested directories.

Watch episode