Closed huv1k closed 6 years ago
Hi @Huvik, you can already do this exactly! Awaiting the file
argument doesn't have any effect on the folder
argument. Perhaps I'm missing something though?
@mike-marcacci Sorry for the question, but I figured it out by myself wrote the whole resolver. I was first trying to work with express middleware, but no luck.
No worries at all! Glad you got it solved :)
Hey, I wonder if there is some easy way to get more properties in
Upload scalar promise
, for example folder or something. So I can have for exampleuploadFile(folder: String!, file: Upload!): File
and use it to store to different locations.