Autoload repositories as required

This commit is contained in:
Starbeamrainbowlabs 2019-05-23 21:01:32 +01:00
parent afec88082b
commit 15a5bf9d03

View file

@ -13,6 +13,9 @@ c.register({
database: a.asFunction(database_init).singleton(),
TTNAppServer: a.asClass(TTNAppServer),
});
c.loadModules(
c.loadModules("../Repos.SQLite/*.mjs", {
register: a.asClass,
lifetime: a.Lifetime.SINGLETON
});
export default c;