Skip to content
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

L7 route caching issue #4

Closed
wants to merge 1 commit into from

Conversation

patrickbrouwers
Copy link

Remove \ from webhook controller definition to solve issues with L7 route caching. I'm not sure if the \\ is there for a reason, but removing it solves the issues with route caching. Same applies to the other feedback packages.

Laravel compares the controller names here: vendor/laravel/framework/src/Illuminate/Routing/CompiledRouteCollection.php:215 But as the action doesn't have a \ and the controller does, the comparison fails.

@freekmurze
Copy link
Member

Not 100% sure, but I think this is a breaking change. Removing that character will make Laravel append the default namespace (for people that are using that).

@riasvdv
Copy link
Member

riasvdv commented Jun 26, 2020

@patrickbrouwers is this still an issue? I remember submitting a PR to laravel/framework for something related to this laravel/framework#32512

@patrickbrouwers
Copy link
Author

@riasvdv I don't think it is anymore.

@riasvdv
Copy link
Member

riasvdv commented Jun 26, 2020

Ok, closing this for now then!

@riasvdv riasvdv closed this Jun 26, 2020
@patrickbrouwers patrickbrouwers deleted the patch-1 branch June 26, 2020 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants