AllKeys return key name in lower case which prohibits using camelCase in key name #1900
Open
3 tasks done
Labels
kind/bug
Something isn't working
Preflight Checklist
Viper Version
1.19.0
Go Version
1.22
Config Source
Files
Format
TOML
Repl.it link
No response
Code reproducing the issue
Expected Behavior
I have a variable defaultEngine but viper return in as defaultengine.
Actual Behavior
I have a variable defaultEngine but viper return in as defaultengine.
Steps To Reproduce
Create a variable in toml with camel case.
Additional Information
Would it be possible to have a function that return the key with the correct case ?
The text was updated successfully, but these errors were encountered: