Why does generated code, for a column with a strin...
# squarelibraries
m
Why does generated code, for a column with a string returns Query<WrapperWithString> instead of Query<String?>. Any idea ?
c
Query<T>
only accepts non-nullable values of
T
. I can't speak to intent for why the API is designed that way, but I suspect it's to force awareness of "query returned a row with a null value" vs "query did not return a row" when dealing with
executeAsOneOrNull
m
makes sense. thanks±!