Introduce TYPEORM_EXTRA env variable (#770)

Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
Florent
2023-11-27 16:47:56 +01:00
committed by GitHub
parent 7d57114d21
commit 961b1c1956
2 changed files with 3 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ export function getTypeORMSettings(): DataSourceOptions {
"subscribers": [
`${codeRoot}/app/gen-server/subscriber/*.js`
],
...JSON.parse(process.env.TYPEORM_EXTRA || "{}"),
...cache,
};
}