Fix GH-34195

Comment From: quaff

Please note the argument at Spring Framework side.

Comment From: quaff

Please note the argument at Spring Framework side.

Resolved by not resolving nested placeholders if value is instance of targetValueType.

Comment From: wilkinsona

Thanks for the PR, @quaff. Unfortunately, as explained in https://github.com/spring-projects/spring-boot/issues/34195#issuecomment-2242615626, I don't think this is the right approach. We'll take a step back, discuss things with the Framework team, and figure out what our options are.