Skip to content

tp: remove FindById and replace with operator[]#5906

Merged
LalitMaganti merged 4 commits into
mainfrom
dev/lalitm/remove-findbyid
May 15, 2026
Merged

tp: remove FindById and replace with operator[]#5906
LalitMaganti merged 4 commits into
mainfrom
dev/lalitm/remove-findbyid

Conversation

@LalitMaganti

Copy link
Copy Markdown
Member

Now that ids are guaranteed to appear in tables, there's no point
having std::optional on the API boundary. Just make it always return
the RowReference instead.

Instead of blindly casting without bounds checking, just verify it's
in bounds of the table.
Now that ids are guaranteed to appear in tables, there's no point
having std::optional on the API boundary. Just make it always return
the RowReference instead.
@LalitMaganti LalitMaganti requested a review from a team as a code owner May 15, 2026 16:11
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

Base automatically changed from dev/lalitm/cleanup to main May 15, 2026 17:39
@LalitMaganti LalitMaganti force-pushed the dev/lalitm/remove-findbyid branch from 5dcfef4 to 7753d4e Compare May 15, 2026 17:45
@LalitMaganti LalitMaganti merged commit c814550 into main May 15, 2026
21 of 22 checks passed
@LalitMaganti LalitMaganti deleted the dev/lalitm/remove-findbyid branch May 15, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants