Skip to content

Instantly share code, notes, and snippets.

@jamesyang124
Last active March 15, 2017 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesyang124/7bb51ae76e034b29847432429ef79848 to your computer and use it in GitHub Desktop.
Save jamesyang124/7bb51ae76e034b29847432429ef79848 to your computer and use it in GitHub Desktop.
slick-3.2.0 inner case class with final keyword

Slick 3.2.0 source code generator prepend final key word for Entity type case class generation, this leads the issue have not been resolved since years:

https://issues.scala-lang.org/browse/SI-4440

The workaround is to create custom source code generator then override that def caseClassFinal = true to false instead.

Related thread:

slick/slick#1665

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