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

Possible bug in Slick3 Custom Code Generator Sample Code #1126

Open
yadavan88 opened this Issue Apr 8, 2015 · 1 comment

Comments

Projects
None yet
4 participants
@yadavan88

I am migrating from slick 2 to Slick 3. As part of that, I am trying to use the Custom Code Generator given this link (http://slick.typesafe.com/doc/3.0.0-RC3/code-generation.html). However, the generated code was having the same name for the Table and TableQuery, which was giving compilation errors.

The issue was fixed by overriding the rawName in the TableValue

override def TableValue = new TableValue {
override def rawName = super.rawName.uncapitalize
}

@szeiger szeiger added this to the 3.2.0 milestone Aug 27, 2015

@cvogt

This comment has been minimized.

Show comment
Hide comment
@cvogt

cvogt Feb 4, 2016

Member

This looks like it is low hanging. I wonder if the above description is enough to reproduce it.

Member

cvogt commented Feb 4, 2016

This looks like it is low hanging. I wonder if the above description is enough to reproduce it.

@cvogt cvogt added very easy and removed Low Hanging Fruit labels Feb 4, 2016

@szeiger szeiger modified the milestones: 3.1.x, 3.2.0 Jan 24, 2017

@hvesalai hvesalai modified the milestones: 3.1.x, Future fix release Mar 1, 2018

@hvesalai hvesalai removed the effort: easy label Mar 7, 2018

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