Skip to content

fix(core): extend BaseKey to support number[] for UUID ids - #7534

Open
deepshekhardas wants to merge 2 commits into
refinedev:mainfrom
deepshekhardas:fix/7403-basekey-uuid
Open

fix(core): extend BaseKey to support number[] for UUID ids#7534
deepshekhardas wants to merge 2 commits into
refinedev:mainfrom
deepshekhardas:fix/7403-basekey-uuid

Conversation

@deepshekhardas

Copy link
Copy Markdown

Extends BaseKey to support number[] so useShow/useDelete work with numeric UUID ids.

Fixes #7403.

@changeset-bot

changeset-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f8a4ee1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

OpenAPI-generated clients often type UUIDs as number[]. Widen
BaseKey so such ids work without force-casting.

Fixes refinedev#7403
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.

[BUG] BaseKey needs to support UUID

1 participant