Validation is very important it should be the primary thing to do when saving data not only when we get some data from unreliable sources (like http requests) even when the data generated from backend itself, no data should be considered valid and saved until it passes the validation rules.
Validation is very important it should be the primary thing to do when saving data not only when we get some data from unreliable sources (like http requests) even when the data generated from backend itself, no data should be considered valid and saved until it passes the validation rules.