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 tackling Relay Modern File Upload with Yoga-Server(Prisma Labs) which uses apollo-server behind the scene. Relay Only Upload Files as multipart to server for that i forked middleware which converts Relay Post request to multipart for uploadables(Uploading Files) Now when file recived on my server it is in Following format
If You Resolve all pending promises these are empty values where relay is sending these value but values are empty on server side don't know why.
I Consider UploadedFile to be in following format { filename, mimetype, createReadStream } but relay is not doing it instead of it i am reciving long object with all fields related to image and value of these keys are empty.
Please help to Configure my upload system properly. i am already trying for last 3 days...:*(
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am tackling Relay Modern File Upload with Yoga-Server(Prisma Labs) which uses apollo-server behind the scene. Relay Only Upload Files as multipart to server for that i forked middleware which converts Relay Post request to multipart for uploadables(Uploading Files) Now when file recived on my server it is in Following format
Uploaded File
{ filename, mimetype, createReadStream }
but relay is not doing it instead of it i am reciving long object with all fields related to image and value of these keys are empty.Please help to Configure my upload system properly. i am already trying for last 3 days...:*(
Beta Was this translation helpful? Give feedback.
All reactions