-
Notifications
You must be signed in to change notification settings - Fork 388
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?]: Buffer is converted to an array-like object on the client-side #1813
Comments
this issue should probably be moved to @tanstack/server-functions-plugin instead |
Could you maybe PR a failing test for this? |
this is a seroval behavior so this is fine. ( Now for why this happens. The reason |
it should definitely be a Uint8Array |
I'll leave that open-ended when we expose the Plugin API. This will be no-fix in seroval |
what does no-fix mean? |
it means I won't change the current behavior in seroval. Once the Plugin API is exposed in SolidStart, I'll let users decide how to serialize Buffers |
Duplicates
Latest version
Current behavior 😯
{0: 102, 1: 240, 2: 142, 3: 156, 4: 217, 5: 251, 6: 19, 7: 196, 8: 113, 9: 88, 10: 46, 11: 27, 12: 246, 13: 206, 14: 74, 15: 43}
Expected behavior 🤔
[102,240,142,156,217,251,19,196,113,88,46,27,246,206,74,43]
Steps to reproduce 🕹
go to chrome console and you'll see
Context 🔦
this didn't happen before solidstart started using tanstack server functions
Your environment 🌎
The text was updated successfully, but these errors were encountered: