When using plugin settings it is not possible to provide "local" values #6729
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Use case: Imagine a plugin where you configure Redis connection details via the
Settings
API. You most likely want to reuse theSettings
class for this in Integration tests etc. The problem is theSettings
API lets you define default values eg127.0.0.1:6379
but you won't be able to change this default configuration when running the tests locally. Eg I'd like to configure192.168.33.10:6379
.I don't know what the best way is to solve this. Probably default values should be optionally configured in a config file but this would require maybe something like #6609
The text was updated successfully, but these errors were encountered: