Open burasuk opened 1 month ago
laravel 11 remove all trait from base controller thats why it thow an error. You can use the AuthorizeRequest
trait in the controller.
Thanks, i didn't notice that
While I agree with @fftfaisal as a potential workaround, this should probably be fixed to use the facade. There are some open issues for other Laravel 11 optimizations. So I'm going to reopen this.
Issue:
Blueprint generate code that not exists in Laravel 11.
draft.yaml: