-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of nested classes for bulk properties #702
Comments
Hi @kshpak, thanks for reaching out. When you refer to nested interfaces, I guess you mean the SmallRye Config @ConfigMapping with interfaces? What do you need to achieve with classes that you are unable to achieve with interfaces? |
Hi @radcortez,
Pretty everything can be achieved through interfaces, it's just another option of configuring properties through classes. Mentioned in the description option was present in quarkus.arc library. Now deprecated, because @ConfigProperties annotation was introduced in MicroProfile Config 2.0. As @ConfigProperties can still be used with classes, the nested configuration is just a good complement |
Actually, Quarkus In my opinion, the MP Config I believe that MP Config specification should review this, move to interfaces and of course support nested elements. I also believe the the specification shouldn't offer both flavours (less is more :)), but of course implementations are free to do it if they want. |
The class support for |
Description
Add support of nested classes for java class annotated with @ConfigProperties (like it's done for nested interfaces)
E.x.
The text was updated successfully, but these errors were encountered: