You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no 'as' operator in the implementation, so surely the result is expected to be non-nullable otherwise it will throw a runtime error?
/// Reads a column that has a type converter applied to it from the row.
///
/// This calls [read] internally, which reads the column but without applying
/// a type converter.
D? readWithConverter<D, S extends Object>(
GeneratedColumnWithTypeConverter<D, S> column) {
return column.converter.fromSql(read<S>(column));
}
The text was updated successfully, but these errors were encountered:
It should return nullable values - the fact that it throws for nulls is a bug that has been fixed in 3ef468b. The reason is that even non-nullable columns can be null in that class because they could have been added from an outer join. read() returns nullable values for the same reason.
There is no 'as' operator in the implementation, so surely the result is expected to be non-nullable otherwise it will throw a runtime error?
The text was updated successfully, but these errors were encountered: