Skip to content
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

Values are not read from environment variables when using PropertyParser starting with Version 1.1.8 #19

Open
jtpgames opened this issue Nov 22, 2023 · 0 comments

Comments

@jtpgames
Copy link

Dear Developers,

starting with version 1.1.8 we cannot use the library anymore when using the PropertyParser to read environment variables. The same code, that works with version 1.1.7, returns a null value starting with version 1.1.8.

Example code:
val mavenUrl = common.prop.string("GSMavenUrl")

After looking through the commits, I found that this behavior was introduced in the commit
3953857
which uses ToUpperSnakeCase() to reformat the name of the property.

In our company, we have a different CaseStyle for our environment variables and it is not feasible for us to rename all our environment variables.

Is it possible to suppress this new behavior via a configuration value or a parameter?

Kind Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant