feat(auth): add per-feature InversifyJS container with constructor-injected service

This commit is contained in:
2026-05-05 00:40:09 +02:00
parent b8cfe0e1f2
commit 2ad6b21f17
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import "reflect-metadata";
import { Container } from "inversify";
import { AuthModule } from "./module";
export const authContainer = new Container({ defaultScope: "Singleton" });
authContainer.load(AuthModule);