s4nchez
07/10/2019, 6:42 AM.multi
version of the lens: 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.