Commit Graph

2 Commits

Author SHA1 Message Date
Cal Corum
ab90dfc437 fix: replace manual db.close() calls with middleware-based connection management (#71)
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m28s
Closes #71

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 06:04:56 -05:00
Cal Corum
86f8495284 feat: Add group_by=sbaplayer to batting, pitching, and fielding endpoints
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m32s
Enables career-total aggregation by real-world player identity (SbaPlayer)
across all seasons. JOINs StratPlay → Player to access Player.sbaplayer FK,
groups by that FK, and excludes players with null sbaplayer. Also refactors
stratplay router from single file into package and adds integration tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 17:42:14 -06:00