dynamic config
#34333
Replies: 1 comment 1 reply
-
Could you please give a concrete example with code of what you are trying to achieve and what doesn't work? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
If I understood the smallrye-config correctly changes in e.g. the application.properties should be reflected directly.
Given some config
SomeConfig
how would I derive an other type from that, that is always reflective of the config.Example I have
SomeConfig
but needDerivedType
for some library I need to use. I've also have a converter functionderive
, how would I always get the latestDerivedType
, do I always have to callderive
? My expectation would be that I'm able to inject aUni<SomeConfig>
and be able to derive from that, since creating object 1000s of times a second is, as far as I know, expensive.Beta Was this translation helpful? Give feedback.
All reactions