-
Hi, How AWSConfig.Builder can have another object Metadata ? (cannot think of how to use a nested ConfigurationBuilder or ConfigurationProperties for this)
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Changed the subject also a bit if I am not making it clear. All examples I see with ConfigurationBuilder is to build something with java literals. But I have another object in that Builder as in above example.(commented out Metadata object). Is this even possible ? |
Beta Was this translation helpful? Give feedback.
-
There is an example in the configuration of how to use a custom converter https://docs.micronaut.io/latest/guide/#customTypeConverter |
Beta Was this translation helpful? Give feedback.
-
From my observation, this works directly inside an object with @ConfigurationProperties() and mapped into a map of objects. Not nested inside child objects. |
Beta Was this translation helpful? Give feedback.
From my observation, this works directly inside an object with @ConfigurationProperties() and mapped into a map of objects. Not nested inside child objects.