Chromia
Start Building

12 / 26Part 3: Checking and validating inputsBeginner

Part 3: Checking and validating inputs

This lesson shows you how to validate input in Rell to make your app more secure. You add require checks to the create_book_review operation so it rejects invalid data, then write tests that cover both books that exist and books that don't.

You'll also shape query results with the book_review_dto struct, which packs book and review data into one organized object.

Written for this site from Chromia’s public course. Code samples are the course’s own.