YamlDotNet icon indicating copy to clipboard operation
YamlDotNet copied to clipboard

Could you please think about offering a `CaseInsensitiveNamingConvention`?

Open schittli opened this issue 2 years ago • 0 comments
trafficstars

Hello

thank you very much for sharing your great work! I use YamDotNet for non-profit projects and it's great to have your library.

Is your feature request related to a problem? Please describe.

Our technically quite skilled users can edit the yaml files directly. By far the most common mistakes they make are in the capitalization of property names. Therefore, they either need support to fix the issue or we have to program the application fault-tolerant. But because the property names are 99% correct and only the case is wrong, there is a much more elegant solution…

Describe the solution you'd like

It would be very helpful if you could provide this INamingConvention provider: CaseInsensitiveNamingConvention This would allow us to easily make YamlDotNet more fault tolerant 😊

Describe alternatives you've considered

Of course, any application you could somehow handle these errors itself.

But if the application is allowed to be fault tolerant with the configuration files, then something like a CaseInsensitiveNamingConvention would be a very elegant solution.

Thanks a lot, kind regards, Thomas

schittli avatar Feb 20 '23 10:02 schittli