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

#110: Job Processing with Oban

Oban is a job processing library that uses Postgres. In this episode we’ll add Oban to an existing Elixir project and use it to move some work to the background.

Watch episode
Alchemist's Edition

#109: DynamicSupervisor and Registry

In this episode we’ll pick up where we left off in #108 and refactor our application to create a process for each user shopping cart. To do this we’ll use DynamicSupervisor and Elixir’s Registry.

Watch episode
Alchemist's Edition

#108: Shopping Cart Part 2

In part 2 of this series we’ll add to our existing shopping cart by allowing users to remove items from their existing carts.

Watch episode