fix: include project_name in /workspaces list response
- The top-level GET /workspaces endpoint was returning project_name as an empty string because the GitRepository.project relationship was not eager-loaded. - Select the full GitRepository entity and apply selectinload(project) so project_name is populated for every workspace row. Backend quality gates: python3 -m pytest 313 passed, 34 skipped.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
dir: apps/api/src
|
||||
|
||||
## role
|
||||
Core application package for the Headquarter API, providing configuration, database connectivity, logging infrastructure, and FastAPI application initialization.
|
||||
Core API application package that initializes and configures the Headquarter FastAPI backend with database, authentication, logging, and middleware infrastructure.
|
||||
## parent
|
||||
index: apps/api/.pi-map.index.md
|
||||
map: apps/api/.pi-map.md
|
||||
|
||||
Reference in New Issue
Block a user