Open hantsy opened 2 years ago
BTW, I would like use a @NotNull
or JSR305 like annotation on Converter
, etc. to ensure the argument is not null, it seems Jakarta Commons Annotation added some annotations like this.
Jakarta Config should be a lightweight configuration without dependencies to other specification. An exception could by Jakarta Annotations or upcoming Jakarta Commons. Even CDI integration should be optional and provided in a separate jar because there are users who want to use Config without CDI.
Understand, but this should be in the todo list if we move to build the Bean Validation integration in future.
In a
ConfigurationProperties
bean described in #19, allow add bean validation annotation to validate the config by parsing/loading time.