forked from snakeyaml/snakeyaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello, thanks for the great work on snakeyaml project.
I’ve been using either direcly on maby of the projects I work and indirecly (for instance smallrye-config).
In some of the teams I partecipate, sometimes some not very disciplined developer entered some duplicate keys in yaml configurations.
As far as I understand, right now SnakeYAML has an all or nothing approach to duplicate keys (using LoadOpttions.isAllowDuplicateKeys()): either an exception is thrown or they are totally ignored.
What about adding something like a isWarnOnDuplicateKeys() option to log duplicate keys?
quarkus:
banner:
enabled: false
banner:
enabled: true
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request