diff --git a/packages/core/src/Application.ts b/packages/core/src/Application.ts index ad12d2f3..6d5d6cb2 100644 --- a/packages/core/src/Application.ts +++ b/packages/core/src/Application.ts @@ -243,6 +243,12 @@ export default class Application extends Container implements ApplicationContrac */ public get coreBootstrappers(): BootstrapperConstructor[] { + // TODO: Ah... this can cause a side effect if multiple application instances are + // TODO: instantiated and bootstrapped, e.g. the Facade's container application will + // TODO: be overwritten!!! + // TODO: This needs to be changed somehow, such that ONLY the singleton instance + // TODO: automatically uses these "core" bootstrappers. + return [ LoadEnvironmentVariables, SetupFacades