Replies: 1 comment 2 replies
-
Generally speaking, adding a custom annotation to support the object binding will enhance the developer experience for non-spring-boot situations. However, I'm not sure whether this is a strong feature as spring boot is used widely now. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In spring boot, we can bind config to java object by
@ConfigurationProperties
,for example
will bind properties
to class
ConfigProperties
's instance.If we design some annotation about it, let user can use feature like
apollo-client
Is it will improve user's experience?
reference https://www.baeldung.com/configuration-properties-in-spring-boot
Beta Was this translation helpful? Give feedback.
All reactions