major-domo-database/app
root b3f0786503 fix: Implement proper dependency injection for PlayerService
- Removed direct Player model imports from service methods
- Added InMemoryQueryResult for mock-compatible filtering/sorting
- Added RealPlayerRepository for real DB operations
- Service now accepts AbstractPlayerRepository via constructor
- Filtering and sorting work with both mocks and real DB
- Tests can inject MockPlayerRepository for full test coverage

This enables true unit testing without database dependencies.
2026-02-03 16:45:46 +00:00
..
routers_v3 refactor: Extract services layer for testability 2026-02-03 15:38:34 +00:00
services fix: Implement proper dependency injection for PlayerService 2026-02-03 16:45:46 +00:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
db_engine.py Add salary_cap column to Team model (v2.2.0) 2025-12-10 07:28:16 -06:00
dependencies.py Add CACHE_ENABLED env var to toggle Redis caching (v2.2.1) 2025-12-10 07:59:54 -06:00
main.py Added HelpCommands 2025-10-17 16:36:40 -05:00