diff --git a/src/backend/model/extension/ExtensionConfigTemplateLoader.ts b/src/backend/model/extension/ExtensionConfigTemplateLoader.ts index fc989b9e..435189f9 100644 --- a/src/backend/model/extension/ExtensionConfigTemplateLoader.ts +++ b/src/backend/model/extension/ExtensionConfigTemplateLoader.ts @@ -102,6 +102,8 @@ export class ExtensionConfigTemplateLoader { if (ext.template) { c.configs = new ext.template(); } + // TODO: this does not hold if the order of the extensions mixes up. + // TODO: experiment with a map instead of an array config.Extensions.extensions.push(c); } diff --git a/src/common/config/private/subconfigs/ServerExtensionsConfig.ts b/src/common/config/private/subconfigs/ServerExtensionsConfig.ts index 589f50ee..d84932c7 100644 --- a/src/common/config/private/subconfigs/ServerExtensionsConfig.ts +++ b/src/common/config/private/subconfigs/ServerExtensionsConfig.ts @@ -59,7 +59,8 @@ export class ServerExtensionsConfig extends ClientExtensionsConfig { }) folder: string = 'extensions'; - + // TODO: this does not hold if the order of the extensions mixes up. + // TODO: experiment with a map instead of an array @ConfigProperty({ arrayType: ServerExtensionsEntryConfig, tags: {