79353857

Date: 2025-01-14 02:32:04
Score: 8 🚩
Natty:
Report link

Try using @Configuration and @ConfigurationProperty in your library, then you can dynamically set or get values.

reference:

How can I write and read to and from a application.yaml at runtime using java code in a spring boot application?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Configuration
  • User mentioned (0): @ConfigurationProperty
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Syed