Hildebrandt Tobias
06/26/2024, 9:34 AMA.leftJoin(B)
. Now from this joined Result set I want to map the fields,
but when B has no corresponding row yet the fields are null (of course) and I get Parameter specified as non-null is null
.
But in the Table definition the field is not marked as nullable so IJ says Unnecessary safe call on a non-null receiver
when I want to use ?.let { }
. What is the right way to handle this?
It works perfectly fine with ?.let { }
, so just suppress the warning?Oleg Babichev
06/28/2024, 10:15 AMHildebrandt Tobias
06/28/2024, 7:10 PM