it0/packages/shared
hailin 5b6e7ee363 fix: add TenantContextMiddleware to initialize tenant context from X-Tenant-Id header
All services using TenantAwareRepository require AsyncLocalStorage tenant
context to set the correct PostgreSQL search_path. The middleware reads
X-Tenant-Id from request headers and wraps the request with
TenantContextService.run(), using schema naming convention it0_t_{tenantId}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 23:58:01 -08:00
..
common Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
database fix: add TenantContextMiddleware to initialize tenant context from X-Tenant-Id header 2026-02-21 23:58:01 -08:00
events Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
proto Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
testing fix: add missing @it0/common dependency to @it0/testing 2026-02-19 04:48:49 -08:00