I'm trying to do a left join with Slick.
I have two case classes (Book and Author) and 2 tables
If I do this :
(for {
(book, author) <- Books leftJoin Authors on (_.authorId === _.id)
} yield (book, author.?)
).list
The result is a List[Book, Option[Authors.type]] and I need a List[Book, Option[Author]]
Do you know why I get the wrong type with my query?
Note : my Authors object links well with the Author case class:
object Authors extends Table[Author]("author"){...}
Thanks :)
Loïc