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 am trying to send a bunch of File objects as file uploads with multipart/form-data with a custom serializer, but it seems the File objects are destroyed along the way in the convertObjectKeys function in apollo-link-rest.
Is this intended, or is this an oversight?
I'm not familiar with File objects, so definitely an oversight, would you mind making a unit-test? Sounds like a feature-request for using File objects to manage posting to a server!
I hope I can have some time to get something like that together. I have solved it by using a normal POST thru the fetch() function instead, bypassing the REST link.
I am trying to send a bunch of File objects as file uploads with multipart/form-data with a custom serializer, but it seems the File objects are destroyed along the way in the
convertObjectKeys
function in apollo-link-rest.Is this intended, or is this an oversight?
apollo-link-rest/src/restLink.ts
Line 621 in 461b4a3
The text was updated successfully, but these errors were encountered: