jaydenseric / graphql-upload

Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
https://npm.im/graphql-upload
MIT License
1.43k stars 132 forks source link

Malformed requests missing the `map` and file fields hang #96

Closed jaydenseric closed 6 years ago

jaydenseric commented 6 years ago

Malformed requests that have the operations field, without following map and file fields, hang indefinitely.

The expected behavior is for an appropriate error response as soon as the multipart form has been parsed.