Currently yaml files with member names using kebab-case, the type provider exposes these as-is using `` as follows:
my-attribute1: abcd
my-attribute2: 1234
becomes
conf.``my-attribute1``
conf.``my-attribute2``
Using YamlDotNet I'm able to configure serialization so that my-attribute1 becomes conf.MyAttribute1, but this doesn't seem to be possible with the type provider, which makes using configuration from FSharp.Configuration kebab-case files pretty jarring from the F# code.
Currently yaml files with member names using kebab-case, the type provider exposes these as-is using `` as follows:
becomes
Using YamlDotNet I'm able to configure serialization so that
my-attribute1
becomesconf.MyAttribute1
, but this doesn't seem to be possible with the type provider, which makes using configuration fromFSharp.Configuration
kebab-case files pretty jarring from the F# code.