fsprojects / FSharp.Data

F# Data: Library for Data Access
https://fsprojects.github.io/FSharp.Data
Other
816 stars 288 forks source link

XmlProvider changes the name of the elements/attributes. #1432

Open MarkNicholls opened 2 years ago

MarkNicholls commented 2 years ago

I know this is by design, but i think its presumptious I WANT to use the names I see in the data, not mentally map them. If i have 2 identically named fields e.g. location and Location, they get mapped to Location and Location2, this is now a problem because Im not sure which field maps to which element.

I'm tempted to implement it myself.

dsyme commented 2 years ago

The use of lowercase names in F# is becoming more and more normal, so yes I think it's totally OK to add an option not to fiddle with the names