scala: case class: overloaded method constructor with alternatives: cannot be applied

I had a case class with overloaded constructor (needed for dynamoDB); kept getting the following error:

overloaded method constructor with alternatives:
cannot be applied to (Double)

cause: some of the fields are without default values; hence the error

in some cases it could also be in part due to case class limit of max 22 fields

About Neil Rubens

see http://ActiveIntelligence.org

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*