<@UJV6CBCKW> The trick is using the `.multi` versi...
# http4k
s
@Razi Kheir The trick is using the
.multi
version of the lens:
Copy code
EnvironmentKey.multi.optional("TESTKEY")
Please notice that: 1. the
.string()
on your example is redundant (by default we treat properties as strings) 2. the
.optional
version for multi will return a
List<String>?
, so you should consider using
.defaulted("TESTKEY", emptyList())
instead.