Closed jbauman51 closed 6 years ago
@jbauman51 the new properties binder strips off all characters that are not alphanumeric or - so that properties can be read in a uniform manner. For map keys that have special characters in them, you can surround the key name with []
so that the key gets used as specified, for example, [Admin/1/D/DataStream/Stream1/*/*/*]
. See the Relaxed binding rules in 2.0.
I used to be able to configure a mapping in application.yml like this (springboot 1.5.10.RELEASE):
and it would create a LinkedHashMap with entries like this:
now in 2.0.0.RELEASE, the same application.yml mapping produces LinkedHashMap with entries like this: