When using slick codegen to generate case classes and table definitions from a view, all fields are generated as nullable (Option
types) even though the columns being queried to build the view are not null
. Is there a way to hint this to the codegen so that it doesn't wrap those columns in Option
?
Asked
Active
Viewed 44 times
0

kag0
- 5,624
- 7
- 34
- 67