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

Setted route vars are lost during dispatch #350

Open
polem opened this issue Dec 2, 2024 · 1 comment
Open

Setted route vars are lost during dispatch #350

polem opened this issue Dec 2, 2024 · 1 comment

Comments

@polem
Copy link

polem commented Dec 2, 2024

During dispatch operation setted routes vars (via setVars) are lost.

i'd like pass vars when declaring route, and access them via request attributes in controller but a setVars is clearing all previous vars in dispatch.

Can i do a PR to add a mergeVars method to route class and call this method instead of setVars in the dispatcher?

@polem
Copy link
Author

polem commented Dec 10, 2024

up

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

No branches or pull requests

1 participant