Conditional statement in HOCON configuration files

166 Views Asked by At

I need to write a production.conf file for my play framework and scala application. I have few requirements like if <some_condition>, then username = <something_from_env> else username = <something_else_from_env>.

I am currently using jinja2 template, which support this kind of statements. Is there a way to do the same with Play in hocon format?

0

There are 0 best solutions below