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

Bug: missing ${variable} support #36

Open
Andrei-Pozolotin opened this issue Mar 26, 2018 · 4 comments
Open

Bug: missing ${variable} support #36

Andrei-Pozolotin opened this issue Mar 26, 2018 · 4 comments

Comments

@Andrei-Pozolotin
Copy link

Bug: missing ${variable} support

@andreaTP
Copy link
Member

where the variable could come from in your opinion?

@2m
Copy link

2m commented May 1, 2018

I have also encountered this limitation. A couple of examples in Akka

 library-extensions = ${?akka.library-extensions} ["akka.serialization.SerializationExtension"]

https://github.com/akka/akka/blob/945440a38d437fa252e67089da020f695cd5c0b4/akka-actor/src/main/resources/reference.conf#L70

and

server-header = akka-http/${akka.http.version}

https://github.com/akka/akka-http/blob/59bd7157621afebce265d1a26c09f3e9ac22ffc8/akka-http-core/src/main/resources/reference.conf#L19

In theory these could be resolved during compilation time.

@andreaTP
Copy link
Member

andreaTP commented May 2, 2018

sounds like it will be totally possible to do it both at run and at compile time, I should find the time to look into.

@andreaTP
Copy link
Member

I was looking into this, and it looks like it will require an effort:
https://github.com/lightbend/config#concatenation

supporting all these use cases is a lot actually ...

I do not have time in the near future to target this issue but PR are welcome.

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

3 participants