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

Add cross compilation to Scala 2.10 #296

Closed
ElPicador opened this issue Jan 17, 2017 · 4 comments
Closed

Add cross compilation to Scala 2.10 #296

ElPicador opened this issue Jan 17, 2017 · 4 comments

Comments

@ElPicador
Copy link
Contributor

No description provided.

@ElPicador
Copy link
Contributor Author

In scala 2.10.X there is a hard limit for case classes. They can not have more than 22 fields.
The issue is that the classes IndexSettings & Query have more that 22 fields.

I didn't manage to find a way (with a macro or anything) to be able to work around this issue.

Any one has an idea?

@aseure
Copy link
Contributor

aseure commented Jan 17, 2017

Apparently nested tuples or HLists were suggested on SO but we will need a lot of accessors. Don't know if it will fit.
http://stackoverflow.com/questions/20258417/how-to-get-around-the-scala-case-class-limit-of-22-fields

@ElPicador
Copy link
Contributor Author

The issue is that it'll break retro compatibility.
And using HList would add shapeless as a dependency.

@ElPicador
Copy link
Contributor Author

Too complex, closing this

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

2 participants