Replacing configate types for relative paths

Is there a way to use relative paths in replacement instead of absolute ones? I want to write this that does not work:

service { password = "qwerty" url = "http://example.com?user=John&password="${password} } 

Only works in this case:

 service { password = "qwerty" url = "http://example.com?user=John&password="${service.password} } 
+8
substitution typesafe-config
source share

No one has answered this question yet.

See related questions:

sixteen
Replacements inside links in reST / Sphinx
7
Type Configuration / Hocon: Variable Replacement: Reference Path
6
Perl qr // and lookup
3
Maven support for replacing property in / project / name?
2
TypeSafe configuration in tests (Failed to allow value replacement)
2
Replacing one symbolic variable for two symbolic variables
one
Limit variable substitution in config config
one
replacement by registry inside other directives
0
Evolutionary String Replacement
0
Get path to type Configpose

All Articles