gentics / gentics/mesh

Let plugin initialization fail on unknown configuration fields

Open
#828 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.