Create an InputValidator class and implement it for the Reviews object. This can impose business logic validation on values received from the API endpoint and can have finer grain criteria for certain fields in the future. E.g. we can impose a character limit on the review body or scan review body and title for cursewords.
Create an InputValidator class and implement it for the Reviews object. This can impose business logic validation on values received from the API endpoint and can have finer grain criteria for certain fields in the future. E.g. we can impose a character limit on the review body or scan review body and title for cursewords.