Closed florentsorel closed 1 month ago
Isn't this solved by using Lorisleiva\Actions\ActionRequest
?
public function asController(ActionRequest $request) {...}
https://laravelactions.com/2.x/add-validation-to-controllers.html#add-validation-to-your-controllers
Closing due to inactivity. If you feel your issue is still relevant please open a new one with a link to a repository containing a minimal reproducible example.
Hi,
I would like to use some method from
FormRequest
object likesafe
,validated
but the asController method need aRequest
object and the methodsafe
doesn't exists inside this object and I prefer to avoid the use ofexcept
method.It's possible to handle this?