Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vitali-bc opened this issue Jun 11, 2024 · 2 comments · Fixed by #6039, #6058 or #6105
Closed

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

vitali-bc opened this issue Jun 11, 2024 · 2 comments · Fixed by #6039, #6058 or #6105
Assignees
Labels
bug Something isn't working pr-ready
Milestone

Comments

@vitali-bc
Copy link

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 vitali-bc added the bug Something isn't working label Jun 11, 2024
@vitali-bc vitali-bc changed the title corrupted data-rpvider code when npm run refine swizzle [BUG] corrupted data-rpvider code when npm run refine swizzle Jun 11, 2024
@aliemir
Copy link
Member

aliemir commented Jun 12, 2024

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 aliemir self-assigned this Jun 12, 2024
@vitalijalbu
Copy link

vitalijalbu commented Jun 12, 2024

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

@BatuhanW BatuhanW added this to the July Release milestone Jun 13, 2024
@omeraplak omeraplak linked a pull request Jun 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pr-ready
Projects
None yet
4 participants