Azure apollo server middleware or image upload

I followed the tutorial in apollo’s docs to upload files, the thing is i cannot get it to work, i get an error message

{ "errors": [ { "message": "Must provide query string." } ] }

when i do a mutation with a file it it, what i can do is get file from the context’s request.body and parse it into a buffer, and store it in the context, that still doesn’t run the mutation resolver

So I’m looking for a way to do file uploads in azure, or a way to write middleware whatever to get this working.

PS: the mutation works fine in apollo-server, but it doesn’t with apollo-server-azure-functions