GetRecordAsync #2341
sandrosxila
started this conversation in
Ideas
GetRecordAsync
#2341
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
CsvHelper has a
GetRecordsAsync
method to get all records asynchronously. It works fine, but if there's an error in an uploaded CSV file, it throws an exception about the first error and doesn't continue reading other rows to get all errors. It would be convenient if we had aGetRecordAsync
function that would work like an asyncGetRecord
.I implement my method like this
But I'm not sure if it's the correct way to do that.
Beta Was this translation helpful? Give feedback.
All reactions