Repository navigation
chore(types): the cast in bidDayLabelsIo.ts comes out, now that the types name bid_day_entries.seen - #10771
Merged
Conversation
…enerated types name bid_day_entries.seen fetchKeptBidDays read its rows through `unknown` because the typed client refused a select of `seen` before the types named the column. #10734 put the column in `src/types/database.ts`, so the rows take their type from the read. No behaviour changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owed since punch list #469's step 2b (v2.9189). Client only, one file, no behaviour change, nothing owed on prod.
fetchKeptBidDaysread its rowsas unknown as BidDayKeptDbRow[], because the typed client refused a select ofseenbefore the generated types named the column of20261202123544. #10734 (59d3381116) putbid_day_entries.seen: Json | nullinsrc/types/database.ts, so the cast and its comment come out and the rows take their type from the read.BidDayKeptDbRow.seenstaysunknown: the kernel reads it withbidDaySeenFromDb.Checked locally: a typecheck of the file alone against main's types (clean without the cast), the two near test files (37 pass), lint. No version: nothing a person reads changes.
🤖 Generated with Claude Code