Skip to content

Conversation

TropicalDog17
Copy link
Contributor

Motivation

Closes #10550

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

…rning::UnknownKey and Display\n- Collect unknown top-level keys in active profile via WarningsProvider\n- Ignore casing-only differences (kebab/snake)\n- Add unit test for unknown key warning\n\nRefs: foundry-rs#10550, inspired by foundry-rs#10621
grandizzy
grandizzy previously approved these changes Sep 29, 2025
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

thank you, looks good! made minor change to apply for all profiles and test, @DaniPopes pls check if this approach without serde-ignored also OK, thanks

@grandizzy grandizzy self-assigned this Sep 29, 2025
@grandizzy grandizzy moved this to Ready For Review in Foundry Sep 29, 2025
@onbjerg onbjerg merged commit 0a203c2 into foundry-rs:master Sep 30, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this from Ready For Review to Done in Foundry Sep 30, 2025
@TropicalDog17 TropicalDog17 deleted the feat/config-warn-unknown-keys branch October 1, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Warn on unknown config keys
4 participants