Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about unknown application config files #35298

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

radcortez
Copy link
Member

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

reflectiveClass.produce(ReflectiveClassBuildItem.builder(URI.class).constructors(true).build());
// No need to include the application files, because they don't change
if (!launchModeBuildItem.getLaunchMode().isDevOrTest()) {
configRecorder.unknownConfigFiles();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you want to log it once at build time and one at runtime, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, because this also looks into the config folder and quarkus.config.locations, which may be different from build to runtime, so we need to perform the checks twice.

@quarkus-bot

This comment has been minimized.

@quarkus-bot
Copy link

quarkus-bot bot commented Sep 22, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@gsmet gsmet merged commit b71b1e0 into quarkusio:main Oct 5, 2023
50 checks passed
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Oct 5, 2023
@quarkus-bot quarkus-bot bot added this to the 3.5 - main milestone Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

warn or fail if an application.yaml is provided without the quarkus-config-yaml dependency
2 participants