Is your feature request related to a problem? Please describe.
Currently I can only access the $request and $id parameter from the controller methods.
Describe the solution you'd like
I'd like the controller methods to be resolved from the container so I can type hint my dependencies.
Describe alternatives you've considered
Getting dependencies from within the controller using the facades but it would be neater to inject automatically.
Additional context
REST uri params should be type hinted by their name e.g.
Is your feature request related to a problem? Please describe. Currently I can only access the
$request
and$id
parameter from the controller methods.Describe the solution you'd like I'd like the controller methods to be resolved from the container so I can type hint my dependencies.
Describe alternatives you've considered Getting dependencies from within the controller using the facades but it would be neater to inject automatically.
Additional context REST uri params should be type hinted by their name e.g.