You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parsed vdk subsection configs should be injected into the ConfigBuilder. We should also have a way to fetch the configurations by subsection key from the Config object built by the ConfigBuilder.
We should have some kind of section -> config mapping in ConfigBuilder and Config. This should be backwards-compatible. For example, if we don't pass a section, we should just default to the "vdk" section. We won't have to change any other calls to set_value this way. Same goes for add.
We should also support fetching config values by section and key, or fetching whole config objects by section name. Fetching whole config objects by section name would help with implementing multiple dbs in plugins.
Acceptance criteria
Do the above implementation or a better alternative
Add tests
The text was updated successfully, but these errors were encountered:
Prerequisites
#3305
Overview
The parsed vdk subsection configs should be injected into the ConfigBuilder. We should also have a way to fetch the configurations by subsection key from the Config object built by the ConfigBuilder.
Suggested Implementation
We should have some kind of section -> config mapping in ConfigBuilder and Config. This should be backwards-compatible. For example, if we don't pass a section, we should just default to the "vdk" section. We won't have to change any other calls to
set_value
this way. Same goes foradd
.We should also support fetching config values by section and key, or fetching whole config objects by section name. Fetching whole config objects by section name would help with implementing multiple dbs in plugins.
Acceptance criteria
The text was updated successfully, but these errors were encountered: