Skip to main content

Lesson 3 - Verify and validate inputs

In this lesson, you'll learn how to use input validation in Rell to enhance app security. We'll use the require function within the create_book_review operation to ensure users enter valid data. You'll also write tests for existing and non-existing books, providing robust input validation.

We'll also explore how to structure query results using the book_review_dto struct. This struct combines book and review data into a single organized object.