Let plugin initialization fail on unknown configuration fields
Open
f/plugins
- Dominant language
- Java
- Stars
- 593
- Forks
- 123
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 4
Description
Currently the object mapper used in PluginConfigUtil#loadConfig()` sets `DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES` to `false`.
Loading the plugin configuration should fail, when the contents of the YAML file does not correspond exactly with the specified class it is deserialized into, to make breaking changes in the configuration more obvious.
Contributor guide
Assessment
This issue has not been assessed yet.