ConfigurationProperties on a top level class having a nested class is having an inconsistent behaviour. Example file has been added as a test case file WithPublicStringConstructorProperties...

Resolution: On ConfigurationPropertiesBindHandler, Using the check which adds the BindRestriction.NO_DIRECT_PROPERTY. Created a method to check whether the target class is a Nested class of top-level class or a class which has the annotation ConfigurationProperties. Also corrected the typo of ConfigurationPropertiesBindHandler...

25368

Comment From: pivotal-issuemaster

@prasoonanand Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@prasoonanand Thank you for signing the Contributor License Agreement!

Comment From: philwebb

Thanks for the pull-request but we've decided to leave things how they are for now until someone actually hits this as a problem.