Few days ago, I had a scenario, in which I was supposed to map optional nested case class in slick using Scala.
I was trying to do this mapping the way, I have explained below.
But I was getting below compilation error.
After beating my head two days, I found a solution by adding custom mapping.
It worked and now I am able to compile and run my code.
2 thoughts on “Easiest Way To Map Optional Nested Case Class with Slick in Scala3 min read”
Reblogged this on Rishi Khandelwal.
Reblogged this on Play!ng with Scala.
Comments are closed.