Option to skip rows that fail to unmarshal
LukasDeco opened this issue · 2 comments
LukasDeco commented
I noticed that when you have a custom type with custom converter using UnmarshalCSV
, if it has an error, the Reader bails out from reading the rest of the rows, and they all become nil
. Instead of bailing out, could we have an option where the reader will just return that row as nil but then continue on? So that way it doesn't nil-out valid rows. Let me know if that doesn't make sense.
LukasDeco commented
I would be interested in submitting an MR for this potentially.
DrBlury commented
@LukasDeco could you provide a PR/Fork that fixes this issue?