Solon.cfg() Everything: The Programmatic Config Center Behind SolonProps — Typed Getters, Prefix Groups, and Bean Binding
Solon's config center, SolonProps, provides a centralized way to access application properties. It can be accessed from anywhere in the app with a single static call, Solon.cfg(). The API surface includes typed getters, prefix grouping, and bean binding. This allows for cleaner and more testable code, eliminating the need for scattered @Value annotations or manual string parsing. Engineers can use SolonProps to read values, group config sections, and bind entire prefixes to POJOs.