Skip to content

The actual callable is not passed to InvocationStrategy since introduction of DeferredCallable in Slim 3.2.0 #1785

Description

@astax-t

Since introduction of DeferredCallable in Slim 3.2.0, the actual controller's callable is not given to the class implementing InvocationStrategy (the one set in $container['foundHandler'])

This makes it impossible to use reflection to find what are actual expected parameters.

I'm trying to use a custom InvocationStrategy that would match controller parameters names to route parameters - similar to the way it's done in Symfony HttpKernel. This was working in Slim 3.1.0, but not in 3.2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions