Skip to content

Conversation

@seanyeh
Copy link
Contributor

@seanyeh seanyeh commented Jan 28, 2026

Add a warning diagnostic if there are duplicate toplevel keys

@seanyeh seanyeh force-pushed the syeh/duplicate-toplevel-key-warning branch from 006f6ec to 65e6226 Compare January 28, 2026 02:37

key := kvp.Key.Value()

// Add warning diagnostic for duplicate top-level keys
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pgavlin does adding a warning seem reasonable for duplicate top-level keys?

@seanyeh seanyeh marked this pull request as ready for review January 30, 2026 21:22
@seanyeh seanyeh linked an issue Jan 30, 2026 that may be closed by this pull request
@seanyeh seanyeh merged commit 0e1b879 into main Jan 30, 2026
8 checks passed
@seanyeh seanyeh deleted the syeh/duplicate-toplevel-key-warning branch January 30, 2026 22:54
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.

Add warning when there are duplicate toplevel keys

2 participants