Skip to content

Commit

Permalink
Merge pull request #42704 from marcelstoer/docs/config-mapping-collec…
Browse files Browse the repository at this point in the history
…tions

Add note about collection element order
  • Loading branch information
gastaldi authored Aug 22, 2024
2 parents 317f8d2 + c685c96 commit 5b4766e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/config-mappings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ The `List` or `Set` mappings can use xref:config-reference.adoc#indexed-properti
configuration values in mapping groups. For collection with simple element types like `String`, their configuration
value is a comma separated string.

NOTE: Only the `List` mapping can maintain element order. Hence, with `Set` mappings the element order is not maintained from the configuration files but is random.

==== Maps ====

A config mapping is also able to map a `Map`:
Expand Down

0 comments on commit 5b4766e

Please sign in to comment.