Yar*_*lav 11 substitution typesafe-config
有没有办法在替代中使用相对路径而不是绝对路径?我想写这个,这不起作用:
service {
password = "qwerty"
url = "http://example.com?user=John&password="${password}
}
Run Code Online (Sandbox Code Playgroud)
仅适用于此案例:
service {
password = "qwerty"
url = "http://example.com?user=John&password="${service.password}
}
Run Code Online (Sandbox Code Playgroud)