Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
The actual callable is not passed to InvocationStrategy since introduction of DeferredCallable in Slim 3.2.0 #1785
Since introduction of
This makes it impossible to use reflection to find what are actual expected parameters.
I'm trying to use a custom
The pull request #1783 would help to mitigate this, if accepted. I'd be able to retrieve the resolved callable and get its parameters using reflection.
But really it would be better to call the custom InvocationStrategy from DeferredCallable instead of just passing arguments given to
Sure. It's not the minimal code to replicate the problem, but pretty much copied from HttpFoundation:
But there is another PR to fix this problem. Maybe it's even better.