Have a single source of truth for validation rules

If you validate some resource's attributes on multiple places, you definitely want to centralize these validation rules, so that you don't change them in one place but forget about the other places.

https://twitter.com/LiamHammett/status/1260252814158282752

We're writing a book, you can get it for free here.