FSharp.Data
FSharp.Data copied to clipboard
CsvProvider does not work with single column
Yes, a seldom used feature supposedly. Still, it doesn't work and sometimes I just want to read/write a single column.
Reproduce:
- Using VS 2019
- Using netcore sdk 2.2.x
type ExampleCsv = CsvProvider<Schema = "MyInt (int)", HasHeaders = false>
When adding a second column:
type ExampleCsv = CsvProvider<Schema = "MyInt (int), MyString (string)", HasHeaders = false>
it works.
Hi, @MikaelUmaN I try to reproduce your problem at first by creating test cases that proves a problem. But all of them passes. Could you give some more information on how to reproduce a problem (or maybe I screwed up the test cases :()?