Skip to content

[PB-7114]: feat/list custom item key via getItemId - #120

Draft
apsantiso wants to merge 1 commit into
masterfrom
feat/PB-7114-list-get-item-id
Draft

apsantiso wants to merge 1 commit into
masterfrom
feat/PB-7114-list-get-item-id

Conversation

@apsantiso

@apsantiso apsantiso commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

What

Adds an optional getItemId prop to List so consumers can choose which field identifies an item. It defaults to item.id, so existing lists keep working. The generic type no longer requires id.

Added tests for items with duplicated or missing id. Bumped to 0.1.30.

Why

drive-web is moving file identity from id to uuid (PB-7111), and List compared items by id internally.

This branch has not been deployed

No deployments
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.

1 participant