fix: extend BaseKey to support number[] for UUID types#7404
fix: extend BaseKey to support number[] for UUID types#7404Xenon010101 wants to merge 1 commit intorefinedev:mainfrom
Conversation
- Extended BaseKey type from 'string | number' to 'string | number | number[]' - Allows OpenAPI-generated types using number[] for UUIDs to work without type casting - Added comprehensive tests for all BaseKey variants - Resolves refinedev#7403
|
|
Thank you but https://github.com/Xenon010101/refine/blob/55c739158b98829fe6fad332ccb5aaac115585e1/packages/core/src/__tests__/basekey.test.ts this test file is honestly kind of useless as you aren't testing the types nor can you really. I would delete this, amend, and force push. |
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
What is the new behavior?
fixes (issue)
Notes for reviewers