Skip to content

Environment.getProperty() method cannot process list items #35179

Description

@mammadyahyayev
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: waiting-for-triageAn issue we've not yet triaged or decided on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions