JoshClose / CsvHelper

Library to help reading and writing CSV files
http://joshclose.github.io/CsvHelper/
Other
4.63k stars 1.05k forks source link

🔨 GuidConverter should be consistent #2246

Closed chrish619 closed 2 months ago

chrish619 commented 2 months ago

GuidConverter should be consistent with other value converters.

When an Integer cannot be parsed from a source Csv, using the Int32Converter, a TypeConverterException is thrown;

When Guid's cannot be parsed from a source Csv, using the GuidConverter, a FormatException is thrown.

This is to provide a consistent behaviour with other base converters.