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

Extracted route path variables should be injected into request params #177

Open
erdi opened this issue Dec 1, 2012 · 0 comments
Open

Extracted route path variables should be injected into request params #177

erdi opened this issue Dec 1, 2012 · 0 comments

Comments

@erdi
Copy link
Contributor

erdi commented Dec 1, 2012

Currently if you want to pass path variables extracted in route evaluation you have to add them as part of the query string of the route destination. This is cumbersome and could be made much simpler by putting extracted path variables values in request params, let's say under pathVariables. This should be pretty simple as the request is available in the place in code where path variables are extracted (https://github.com/gaelyk/gaelyk/blob/master/core/src/main/groovyx/gaelyk/routes/Route.groovy#L122)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant