The current configuration class has only hardcoded values despite serializing everything into a JSON file. To allow actions, especially user-created ones to define configuration options a dynamic configuration class needs to be added.
The class will work using a registration system, i.e. code can register configuration values and their type at runtime. When accessing the configuration value existence and type correctness can be enforced in this manner.
The current configuration class has only hardcoded values despite serializing everything into a JSON file. To allow actions, especially user-created ones to define configuration options a dynamic configuration class needs to be added.
The class will work using a registration system, i.e. code can register configuration values and their type at runtime. When accessing the configuration value existence and type correctness can be enforced in this manner.