-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L5.2 upgrade #87
Comments
I was able to get past this by adding \Chrisbjr\ApiGuard\Http\Middleware\ApiGuard::class to the $middleware in App\Http\Kernel.php The next issue is related to the \Chrisbjr\ApiGuard\Http\Middleware\ApiGuard::handle() method, which has 3 params. That 3 param is never getting passed. |
Resolved this by moving the middleware to the $routeMiddleware attribute:
So, all good, just need to update the docs for the middleware implementation (branch?) |
I wrote up a small guide to help with upgrading https://blog.muya.co.ke/api-guard-laravel-5-2/ |
Hi, I just upgraded to L5.2 and pulled the latest apiguard from dev-master. I'm getting this error: Class apiguard does not exist. Anyone else getting this?
The text was updated successfully, but these errors were encountered: