Show nicer error when a @ConfigMapping
class exists in the deployment
module and set to the runtime
phase
#43394
Labels
@ConfigMapping
class exists in the deployment
module and set to the runtime
phase
#43394
Description
While creating (see this PR for more context - quarkusio/quarkus-workshops#600), I noticed that the following error is thrown when the
@ConfigMapping
phase is set to RUN_TIME:The solution was to move the
@ConfigMapping
to theruntime
module, but the error message is a bit cryptic.Implementation ideas
It would be nice if we could detect that somehow and display a nicer error message
The text was updated successfully, but these errors were encountered: