Closed hajmansoor closed 6 months ago
It's not clear why you are accessing the Upload
instances directly; if everything is setup correctly with the scalar GraphQLUpload
you won't see that in resolvers; only you can access the upload promise. You need to properly await the upload promise, then use that to create and promisify a readable stream for the upload, and then await the completion of the stream. You have to do something with the upload stream, even if you just waste it. Streams of files in multipart requests are received one after another, not in parallel.
When I want to upload multiple images only the first file has "file" content and the other file does not have file content(only file with extension .png .xls . ) file with txt format worked fine
please help me