Validate this
Write a validation for that
Once validated, it should …
What does it mean “to validate”? What we usually mean is to make sure that only valid data get accepted by the system. For example, a “create user” endpoint should not be able to receive a PDF invoice as input and create a valid user as a result 1.
In this post, let’s focus on the steps involved to get to valid data.