jasonkuhrt / graphql-request

Minimal GraphQL client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove file handling

jasonkuhrt opened this issue · comments

Perceived Problem

File handling adds a lot of complexity:

Ideas / Proposed Solution(s)

Remove the feature until it can be properly done. Imolementation, tests, docs.

Sad to see it's gone but understandable. It was me who originally added a file upload feature to graphql-request #175 . If someone needs it I'm still maintaining https://www.npmjs.com/package/awesome-graphql-client which has a file upload support and I'm not planning to remove it

commented

Well, this wasted half a day of my life trying to figure out what was going wrong since the previous versions of this library supported file uploads. Maybe put something like a warning message on the console to indicate that the file handling is removed? This would help poor souls such as myself who are trying to use previously working code on a new project and pulling all their hair out not knowing what is blowing up. :)

@haZya PR welcome