Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(core): extend BaseKey type to support number[] for UUID compatibility#7488

Open
deepshekhardas wants to merge 1 commit into
refinedev:mainrefinedev/refine:mainfrom
deepshekhardas:fix/basekey-uuid-supportdeepshekhardas/refine:fix/basekey-uuid-supportCopy head branch name to clipboard
Open

fix(core): extend BaseKey type to support number[] for UUID compatibility#7488
deepshekhardas wants to merge 1 commit into
refinedev:mainrefinedev/refine:mainfrom
deepshekhardas:fix/basekey-uuid-supportdeepshekhardas/refine:fix/basekey-uuid-supportCopy head branch name to clipboard

Conversation

@deepshekhardas

Copy link
Copy Markdown

Description

UUID types from some OpenAPI generators use
umber[]\ (byte arrays) as their representation. Previously \BaseKey\ only accepted \string | number, forcing users to use type assertions when working with such UUID representations.

This change widens the \BaseKey\ type to also accept
umber[].

Related Issue

Closes #7403

Type of change

  • Bug fix (non-breaking change that fixes an issue)

How Has This Been Tested?

This is a pure type-level change — widening a union type — so no runtime behavior is affected. TypeScript compilation succeeds with the widened type.

@changeset-bot

changeset-bot Bot commented Jul 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 49b8d09

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.