Open rafalfigura opened 1 month ago
what is ImageSubject?
@PatrickJS the ImageSubject
is just an Enum with strings. You can take a look here: https://github.com/rafalfigura/qwik-cloud-functions-test/blob/main/src/server/types.ts
I've checked and it doesn't work even when the server$ function is empty
let me try this Bug
thanks @JerryWu1234 🙏 🙌
I deployed a lot of times and it failed. maybe my country has a limitation. https://github.com/firebase/firebase-tools/issues/6268 So that I can't handle this
@PatrickJS
ok thanks @JerryWu1234 for trying to look into this
Which component is affected?
Qwik Runtime
Describe the bug
I'm trying to use server$. It looks like the deserializer (https://github.com/QwikDev/qwik/blob/7ed839f4cc1aa8cba1833d811a82d8a62d5865cf/packages/qwik-city/middleware/request-handler/request-event.ts#L329) gets from request.text() an empty string ''. Which then translates to an error. From the request side it looks like the json has valid data {"_entry":"3","objs":["\u0002#s_vZ1JDpk0Fwo","tool","pexels-jang-‘s-:fallen_leaf:-2664216.jpg",["0","1","2"]]} for some reason it doesn't work.
Example code:
Reproduction
https://github.com/rafalfigura/qwik-cloud-functions-test
Steps to reproduce
To reproduce:
Firebase log with error:![image](https://github.com/QwikDev/qwik/assets/34662065/cc657e77-00ab-4a70-a89e-def61df7107f)
Example working locally![image](https://github.com/QwikDev/qwik/assets/34662065/ddaaa57a-1d32-4a22-89a3-1ae7bef64dc4)
System Info
Additional Information
More info here: https://discord.com/channels/842438759945601056/1237142526654414919