fix: Validate and sanitize pitching decision data from Google Sheets #3
No reviewers
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/validate-spreadsheet-decision-data"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes POST /api/v3/decisions 422 errors caused by spreadsheet formula errors like #N/A being passed to the API.Added validation helpers and enhanced read_pitching_decisions to detect and skip rows with invalid data, validate integer fields, and ensure required fields are present.