-
-
Notifications
You must be signed in to change notification settings - Fork 374
Closed
Description
I experienced a regression in the latest 1.0.0-RC6. I don't yet have a fully tested self contained example though.
But I think it boils down to this code:
case class Foo(a: Int, b: String)
case class Bar(c: Int, d: Option[String])
sql"SELECT a, b, c, d FROM foo LEFT JOIN bar ON a = c".query[(Foo, Option[Bar])]With these records in the DB:
| a | b |
-------------
| 1 | 'abc' |
| c | d |
------------
| 1 | NULL |
I used to get (Foo(1, "abc"), Some(Bar(1, None))) as the result of that query, and now I get (Foo(1, "abc"), None).
Reactions are currently unavailable