mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Add reminder todos for better extension loading #784
This commit is contained in:
parent
479257a3e1
commit
1ae44e8d7f
@ -102,6 +102,8 @@ export class ExtensionConfigTemplateLoader {
|
|||||||
if (ext.template) {
|
if (ext.template) {
|
||||||
c.configs = new 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);
|
config.Extensions.extensions.push(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,7 +59,8 @@ export class ServerExtensionsConfig extends ClientExtensionsConfig {
|
|||||||
})
|
})
|
||||||
folder: string = 'extensions';
|
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({
|
@ConfigProperty({
|
||||||
arrayType: ServerExtensionsEntryConfig,
|
arrayType: ServerExtensionsEntryConfig,
|
||||||
tags: {
|
tags: {
|
||||||
|
Loading…
Reference in New Issue
Block a user