New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfigProvider: Even when it's unnecessary, KebabCase&snakeCase parse the key to lowercase. #8740
Comments
I realised that the current implementation of kebab case is correct, it is expected to make the whole path lowercase, the issue is when the keys of a Map get changed, which supposed to be treated as constant values. Example:
final case class ExampleConf(settings: Map[String, String]) |
@jdegoes Could you verify if this is a real issue or not? |
/bounty $100 @wi101 Looks like a real issue to me! |
💎 $100 bounty • ZIOSteps to solve:
Thank you for contributing to zio/zio! Add a bounty • Share on socials
|
💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
🎉🎈 @987Nabil has been awarded $100! 🎈🎊 |
For a configuration that uses kebabCase that has a map with keys that have hexadecimal digits separated by colons. There is a Missing data error while reading the configuration because the keys were converted to lowerCase even it was unnecessary.
Example:
Error:
The text was updated successfully, but these errors were encountered: