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

Controller definition with 22+ parameters #4243

Closed
ClaraAllende opened this issue Apr 15, 2015 · 3 comments · Fixed by #4244
Closed

Controller definition with 22+ parameters #4243

ClaraAllende opened this issue Apr 15, 2015 · 3 comments · Fixed by #4244

Comments

@ClaraAllende
Copy link

As discussed in https://groups.google.com/forum/#!topic/play-framework/xh0GIoHMz48

Currently controllers in route definitions cannot use more that 22 parameters, even though Scala compiler has already lifted this limitation. This is due to the existing coupling between call method and FunctionN + tuples (which still have the 22 parameter limit).

Even though I could extract the parameters from the query string, I'd rather not, because I lose the type check, and because it seems somehow consistent to allow an arbitrary amount of parameters in controllers, since Scala has already lifted the limit up.

@cchantep
Copy link
Member

See #4244

@megazord
Copy link
Contributor

@cchantep I can't understand the relation between this issue and #4245.

@cchantep
Copy link
Member

-1 => #4244

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