Hey, I encountered an odd behavior with the Result...
# exposed
r
Hey, I encountered an odd behavior with the ResultRow.get function: Username is declared as a non-nullable column. In this case I have a left join on the User-Table. If username in the ResultSet is null, I would expect an exception from the ResultRow.get function. However, the variable usernameValue (which is btw correctly inferred as non-nullable String) does have the value null. Might be more of a compiler issue though. Am I overlooking something that justifies this behavior!?
e
how about using
this[usernameColumn]
?
r
Thanks for interest, but this won't make a difference as they are compiled down to the same. The problem lies somewhere else.