go-graphql-upload
go-graphql-upload copied to clipboard
google go(lang) graphql upload middleware
Fixes #1. - Fix 1: When the operations JSON is unmarshalled, arrays are typed `[]interface{}` not the expected `[]map[string]interface{}`, so the if-branch relating to arrays on L173 is never called....
The function `addFile` in middleware.go creates, opens and writes to temporary files but doesn't close them. This might cause problems with long running applications. Starting at [line 194](https://github.com/smithaitufe/go-graphql-upload/blob/master/middleware.go#L195) ``` f,...
I have gotten this to work with a single upload with the mutation defined as: ```upload(file: Upload!): Boolean!``` But, when I try a mutation to handle multiple uploads, it fails....