How to read array environment variable in application.conf?
<p>I would like to define in <code>application.conf</code> a variable which will be a list of strings. Currently in application.conf I have something like this:</p>

<pre><code>some.env.variable = ["a", "b"]
</code></pre>

<p>I tried:</p>

<pre><code>some.env.variable = ${?I_AM_ENV}.split(",")
</code></pre>

<p>when <code>I_AM_ENV = a,b</code>  but it didn't work. </p>

<p>I get an error when loading app:</p>

<pre><code>Wrong value type at 'some.env.variable', expecting: list but got: string
</code></pre>