lorisleiva / laravel-actions

⚡️ Laravel components that take care of one specific task
https://laravelactions.com
MIT License
2.52k stars 124 forks source link

Fix controller middleware not resolving (#199) #203

Closed lorisleiva closed 2 years ago

lorisleiva commented 2 years ago

Since version 9.35.0 of the Laravel framework, a PR was merged that changed the way controller middleware were resolved which lead to action middleware not being resolved.

A follow-up PR was implemented on laravel/framework (https://github.com/laravel/framework/pull/44590) to enable Laravel Actions to keep its current behaviour whilst making sure the new behaviour from 9.35.0 is not broken.

The goal of this PR is to perform the final update on Laravel Actions which leverages the latest PR on the framework.

Note that this fix will only work once a new version of the framework is published (anything that comes after 9.35.1).

Fix #199.