You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another issue when I'm using laravel-debugbar in src/DataObjects/Route.php line #78 since middleware constructor only accept string, so I had to hack it like this
protected function formatMiddleware()
{
return array_map(function ($middleware) {
if (gettype($middleware) !== 'string') {
// dd($middleware);
return new Middleware('ignored');
}
return new Middleware((string)$middleware);
}, $this->route->gatherMiddleware());
}
Another issue again:
Is this package dependant to laravel-passport? Tried to disable parseSecurity to false but it was still required. I had to install laravel-passport and configure it to make this package working
The text was updated successfully, but these errors were encountered:
Hey thank you for submitting this issue I'll look into this tonight. laravel-passport is only required for local development (testing) when installing the package make sure to pass the --no-dev flag in order not to pull any dev packages (phpunit, laravel-passport, etc.). If the package is breaking because you're missing laravel-passport (with the parseSecurity) option set to false than that is a bug and I'll look into it as well.
@trinvh I pushed a fix for the missing methods in the v0.7.x-dev branch, sorry about that. I will look into parseSecurity issue tomorrow, thanks for reporting!
Description:
If there is a route with PATCH method an error will be thrown:
Undefined index: patch
Fixed it in SuccessResponseGenerator.php:
Another issue when I'm using laravel-debugbar in
src/DataObjects/Route.php
line #78 since middleware constructor only accept string, so I had to hack it like thisTried to dump the $middleware object then I got:
Another issue again:
Is this package dependant to laravel-passport? Tried to disable
parseSecurity
to false but it was still required. I had to install laravel-passport and configure it to make this package workingThe text was updated successfully, but these errors were encountered: