Skip to content

Provide default config as extension #46392

Answered by radcortez
stephan-strate asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think GeneratedResourceBuildItem works, because Quarkus config is not going to be able to see that file before starting the actual Config.

My recommendation it to use RunTimeConfigurationDefaultBuildItem, or even a customized io.quarkus.runtime.configuration.ConfigBuilder with StaticInitConfigBuilderBuildItem or RunTimeConfigBuilderBuildItem.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@stephan-strate
Comment options

@stephan-strate
Comment options

@radcortez
Comment options

Answer selected by stephan-strate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants