Decoder API to get available fields
gampleman opened this issue · comments
headers : Decoder (List String)
or some such.
The main use case I have is that the format of CSV my application accepts is dynamic based on the state of the application.
(i.e there are columns called 1_fx
, 1_fy
, 2_fx
, 2_fy
, 3_fx
, 3_fy
, ...)
Hence I would like to have an easy way to validate that there are no extra columns matching the template, since that would indicate that the user provided a CSV that didn't match the state of the application.