Skip to content

fix(Instrumentation/Routing): add reflection for array-callable as route #166

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

klkvsk
Copy link
Contributor

@klkvsk klkvsk commented Apr 13, 2025

TraceableRouteLoader: adding case for [ 'controllerClassFqcn', 'method' ]-type values in _controller attribute.

Copy link
Contributor

@gaelreyrol gaelreyrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @klkvsk, thanks again for your contribution, I didn't thought about that case!

Would you mind to update the tests before I approve and run the CI?

@gaelreyrol
Copy link
Contributor

@klkvsk Can you provide an example of how you inject a callable route, so I can update the test myself ? Otherwise I'll close this PR.

TraceableRouteLoader: adding case for `[ 'controllerClassFqcn', 'method' ]`-type values in `_controller` attribute.

Signed-off-by: Misha Kulakovsky <m@klkvsk.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants