NeoCSV icon indicating copy to clipboard operation
NeoCSV copied to clipboard

#emptyFieldValue: not respected with #recordClass:

Open seandenigris opened this issue 9 years ago • 1 comments

If #recordClass: is set, #emptyFieldValue: is ignored and nil values are stored.

seandenigris avatar Aug 04 '16 17:08 seandenigris

I am really in dubio about this. Right now the code in #readNextRecordAsObject seems to have been written to not assign empty fields to objects. The more I think about this, the more this makes sense, because a single value cannot be the default for all your fields. It seems better to solve unassigned properties inside the object itself.

Does this make sense ?

svenvc avatar Sep 27 '16 09:09 svenvc