-
Notifications
You must be signed in to change notification settings - Fork 77
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
Make expansion of expressions optional per load #5
Comments
Another solution might be to provide a Load method on Properties itself as this struct has a Prefix,Postfix pair that can be changed to prevent expansion. (properties.go:596) |
Properties expands on Let me know what you think. The change is in https://github.com/magiconair/properties/tree/issue5 |
Thank you for the quick response and implementation. |
Then I'll merge it |
As part of our configuration service, we need to store configurations as is in key-value records without substituing the ${..} expressions. Application that retrieve properties from this service will do the expansions.
My suggestion is to provide another Load function that takes the extra boolean parameter
expandExpressions
The text was updated successfully, but these errors were encountered: