Skip to content
Snippets Groups Projects
Commit ef2d99a1 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix resolve configurables

parent 133ec643
No related branches found
No related tags found
1 merge request!19Feature/configuration
Pipeline #11151 passed
......@@ -103,7 +103,7 @@ T *ftl::config::create(json_t &link, ARGS ...args) {
template <typename T, typename... ARGS>
T *ftl::config::create(ftl::Configurable *parent, const std::string &name, ARGS ...args) {
nlohmann::json &entity = parent->getConfig()[name];
nlohmann::json &entity = ftl::config::resolve(parent->getConfig()[name]);
if (entity.is_object()) {
if (!entity["$id"].is_string()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment