Hello - could anyone point me to the code in Spring that reads and parses ConfigurationProperties
? Thank you very much.
Comment From: bclozel
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
Comment From: siddjain
where it will get downvoted and closed.
From: Brian Clozel @.> Sent: Sunday, December 3, 2023 10:44 PM To: spring-projects/spring-framework @.> Cc: siddjain @.>; Author @.> Subject: Re: [spring-projects/spring-framework] Looking for pointer to code that reads and parses ConfigurationProperties (Issue #31744)
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflowhttp://stackoverflow.com/. As mentioned in the guidelines for contributinghttps://github.com/spring-projects/spring-framework/blob/master/CONTRIBUTING.md#discuss, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
— Reply to this email directly, view it on GitHubhttps://github.com/spring-projects/spring-framework/issues/31744#issuecomment-1837934113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFZEMMANT4NLFERNKYTZFDYHVWLPAVCNFSM6AAAAABAFG6YN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHEZTIMJRGM. You are receiving this because you authored the thread.Message ID: @.***>
Comment From: sbrannen
@siddjain, I'm not sure why you think such a question would get down-voted on Stack Overflow. Members of the community are often willing to assist in such matters.
As a side note, ConfigurationProperties
is a feature of Spring Boot (not Spring Framework -- this issue tracker). So you could also use GitHub's search features to find out where it's used in the Spring Boot GitHub repository.
Comment From: siddjain
Looking for pointer to code that reads and parses ConfigurationProperties in SpringBoot: https://stackoverflow.com/questions/77601604/looking-for-pointer-to-code-that-reads-and-parses-configurationproperties-in-spr
Objective: I would like to extract the code that S.B. uses to read and parse application.properties
into a stand-alone module that I can use like this: var config = parseConfig(Config.class);