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

fix(config): obey notify setting for config validation #861

Closed
wants to merge 1 commit into from

Conversation

rikardjans
Copy link

Description

Obeys notify field for config validation.
Even when calling setup before register, as suggested in linked issue, deprecation warnings still results in the notification being shown, while some other warnings, like overlapping mappings or missing dependencies will not trigger the notification.

It is not clear from checkhealth what warnings will result in the message and which will not.

I would assume notify = false would hide all notifications.

This PR adds a check of notify flag in validation before sending the notification

Related Issue(s)

@folke
Copy link
Owner

folke commented Oct 3, 2024

validation errors should always be shown since this means there's issues with your config.
The notify option is to disable the warning about using register instead of add

@folke folke closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants