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

#100: Multiple Room Chat Application

In this episode we’ll build a chat application that has multiple chat rooms. The rooms will be created dynamically from the URL and will use Phoenix Channels to provide realtime functionality.

Watch episode
Alchemist's Edition

#99: OTP backed Web Application Part 2

In part 2 we’ll update our application to allow users to add cryptocurrencies from the UI. Once added, we’ll display the cryptocurrency and update pricing every minute using a GenServer.

Watch episode
Alchemist's Edition

#98: OTP backed Web Application Part 1

In part one of this series we’ll lay the foundation for our application. First we’ll see how we can fetch cryptocurrency prices. Then we’ll create a GenServer to store the prices and add it to our supervision tree.

Watch episode