You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a graphql server that has an image upload mutation that follows the graphql-multipart-request spec. On the client side I have a simple expo (api 52) project with urql. All queries and mutations work as expected. As soon as I execute a mutation with a File in the variables the entire app crashes. There are no logs, no entries in the network tab inside devtools, and the server never receives the request.
I also stepped through with the debugger and urql's serializeBody function that creates the FormData looks fine to me. It's still not clear what causes the app to crash.
Hoping that posting this here will shed some light on what is going on.
Describe the bug
I have a graphql server that has an image upload mutation that follows the graphql-multipart-request spec. On the client side I have a simple expo (api 52) project with urql. All queries and mutations work as expected. As soon as I execute a mutation with a
File
in the variables the entire app crashes. There are no logs, no entries in the network tab inside devtools, and the server never receives the request.I also stepped through with the debugger and urql's serializeBody function that creates the FormData looks fine to me. It's still not clear what causes the app to crash.
Hoping that posting this here will shed some light on what is going on.
Reproduction
https://github.com/seanlennaerts/urql-expo-upload-image
Urql version
urql 4.2.1
Validations
The text was updated successfully, but these errors were encountered: