Environment.getProperty() method cannot process list items

#35179

Issue Details

about 1 month ago
No assignee
status: waiting-for-triage
mammadyahyayevmammadyahyayev
opened about 1 month ago
Author
first: second: i,like,fish

the yaml config above can be processed when following code is executed

List<String> values = environment.getProperty("key", (List<String>) List.class)

however, following yaml config cannot be processed by the code snippet above

first: second: - i - like - fish