-
I have a requirement that I need an extension's config property to be named exactly
Quarkus prefixes a
How do I just tell it what property name I want it to use, without it trying to be too smart? I've found myself just ending up referencing the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please, use You can use |
Beta Was this translation helpful? Give feedback.
Please, use
@ConfigMapping
and interface-based configs: https://quarkus.io/guides/writing-extensions#configuration.You can use
@WithName
to override the configuration name, and it should work with empty prefixes.