hoshomoh/CSVUtils

Line number in error data

Closed this issue · 5 comments

Hi,

Great library, I was painfully doing validations in a much uglier way before I stumbled upon this.

One thing is missing, I did not find an easy way to retrieve line number in errors data. Pointing the line number when errors occur is IMHO necessary to provide usable feedback to the user.

@nlemoine thanks for the feedback. By line number you mean the line on the CSV where the error occurred right?

@hoshomoh Sorry, yes, line number of the CSV file.

This is actually a very good feedback....I will look into this during the week

This feature is now implemented and released with version 2.1.0. You can find more information about this release here https://github.com/hoshomoh/CSVUtils/releases/tag/v2.1.0

Thanks!