refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] corrupted data-rpvider code when npm run refine swizzle

Open vitali-bc opened this issue 1 year ago • 2 comments

Describe the bug

Screenshot 2024-06-11 alle 21 15 18

Steps To Reproduce

npm run refine swizzle yes you will see code is corrupted

Expected behavior

code must be correct

Packages

simple-rest

Additional Context

No response

vitali-bc avatar Jun 11 '24 19:06 vitali-bc

Hey @vitali-bc, sorry for the issue! Looks like our swizzle command had some issues with the import type statements which are introduced with the latest release to our codebase. I've just opened up a PR to fix this issue. 🙏

Until the next release is done, you can check out the source code for @refinedev/simple-rest here to create your data provider 🚀

aliemir avatar Jun 12 '24 08:06 aliemir

Hey @vitali-bc, sorry for the issue! Looks like our swizzle command had some issues with the import type statements which are introduced with the latest release to our codebase. I've just opened up a PR to fix this issue. 🙏

Until the next release is done, you can check out the source code for @refinedev/simple-rest here to create your data provider 🚀

Hi! Could you please look also inside the next BUG I opened? I think they are correlated...
PS. i'm the same guy :D

vitalijalbu avatar Jun 12 '24 09:06 vitalijalbu