F# records #2162
Unanswered
dharmatech
asked this question in
Q&A
F# records
#2162
Replies: 1 comment
-
I've posted the question here: https://stackoverflow.com/questions/76361833/csvhelper-with-f-records If this question is more appropriate there, feel free to remove this one. :-) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Here's an F# script that uses CsvHelper and runs as expected:
Note that it's using a class with properties to hold the data each row:
If I use an F# record instead:
it results in the following error:
Question
Is there a way to use the record type with CsvHelper?
Beta Was this translation helpful? Give feedback.
All reactions