-
Phillip Webb authored
Add a `BindRestriction` option to `Bindable` which allows direct property binding to be bypassed. The option is automatically applied by the `ConfigurationPropertiesBinder`. Prior to this commit, `@ConfugurationProperties` binding could silently fail if a direct property existed that could be converted to the properties class. This can be the case if a single-argument constructor is available as the `ObjectToObject` converter would kick in. Closes gh-16038 Co-authored-by:
Madhura Bhave <mbhave@pivotal.io>
c268f5d4