CsvBindByName capitalizes headers when writing
Brought to you by:
aruckerjones,
sconway
Hey, I'm facing quite a problem here because writing a CSV does not preserve capitalization on annotated columns. For instance, having @CsvBindByName(column = "Example") generates the header EXAMPLE. Is there a logical reason for this behaviour? Honestly, I can't see why. Would not be much easier to preserve capitalization by default?
I guess a new boolean property
capitalizecould be added to the annotation, or something similar...@sconway This one is really directed at you. The all-caps thing was there when I arrived, and I recall you having a reason for it.
Any updates on that?
This is a library, whatever reasoning the original developer had, it shouldn't act as a policeman and enforce its own rules. It should be flexible. There are many dirty workarounds for this issue on the internet because this is what users need.