Lesson 3 - Verify and validate inputs
In this lesson, you'll learn how to implement input validation in Rell to improve app security. We will use the require
function within the create_book_review
operation to ensure that users enter valid data. Additionally, you will write tests for both existing and non-existing books, which will provide robust input validation.
We will also explore how to structure query results using the book_review_dto
struct. This struct combines both book and review data into a single, organized object.