-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
use case 💡An issue which illustrates a desired use case for the specificationAn issue which illustrates a desired use case for the specification
Description
Description
As a:
- Application user/user of the configuration itself
- API user (application developer)
- SPI user (container or runtime developer)
- Specification implementer
...I need to be able to:
Simply bind the properties to record class.
@ConfigProperties
record Range(int min, int max) {
public Range{
if(min < max) {
throw IllegalArgumentExcpetion(...)
}
}
}
Scan @ConfigProperties class as CDI beans in Jakarta EE env, and inject it by type safely in other CDI beans
@Inject
Range range;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
use case 💡An issue which illustrates a desired use case for the specificationAn issue which illustrates a desired use case for the specification