fix(playball): use Player::jersey_number() for lineup resolution #77
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring!77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-72-codex"
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?
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
8f6aee20a6ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
When importing an away lineup, this now keys the roster map by
away_number, butaway_numberis not constrained to be unique in the schema or player create/update flows, so two active players on the same team can share the same away jersey. In that caseHashMap::insertsilently overwrites the earlier player and the import can save a lineup for the wrong player instead of reporting an ambiguous jersey number; please detect duplicate display numbers while building the map and return a validation error.Useful? React with 👍 / 👎.