Overview
What this package owns in the runtime
TypeORM support attaches datasource lifecycle to xtask startup and shutdown. It gives the container a standard way to inject datasources and repositories while re-exporting the TypeORM surface.
What it provides
- Registers datasources during bootstrap and destroys them during app.close().
- Re-exports TypeORM decorators and APIs from one package entry point.
- Supports datasource decorators and injection helpers.
- Fits both SQLite demos and larger multi-datasource applications.
How it fits
- Activated automatically when the package exports initializeTypeOrmIntegration().
- Used with Fastify in the SQLite sample and with Postgres in this website project.