when I use $this->validator in the first line of my functions everything is ok and app works correctly.
but when I want to use request classes such as CreateArticle for validating requests it doesn't work and I face with validation failed request.
I examine everything but I couldn't solve problems.
when I use $this->validator in the first line of my functions everything is ok and app works correctly. but when I want to use request classes such as CreateArticle for validating requests it doesn't work and I face with validation failed request. I examine everything but I couldn't solve problems.