alijumaan / laravel-ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not enough validation rules

Abdo-Najjar opened this issue · comments

https://github.com/alijumaan/Laravel-Ecommerce/blob/1642973504055d79ca60076f13e64b89560eda15/app/Http/Requests/UpdateReviewRequest.php#L27

if you are using a required validation rule only on a string field in the migration it may cause an error if the user enter an input more
than 255 character length you need to make sure to use max:255 beside the required rule in the request.

Sure.
Thank you