Since results are stored as JSON, undefined values aren't visible but they do remove keys from objects.
Therefore, a two-pronged breaking approach for v4
- do not allow
undefined values in objects returned by reducers
- make a
jsonColumn() column helper that removes null values from objects
- make a
jsonWithNullColumn() column helper that keeps null values
- make the
'JSON' type behave like json()
Since
resultsare stored as JSON,undefinedvalues aren't visible but they do remove keys from objects.Therefore, a two-pronged breaking approach for v4
undefinedvalues in objects returned by reducersjsonColumn()column helper that removesnullvalues from objectsjsonWithNullColumn()column helper that keepsnullvalues'JSON'type behave likejson()