Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support regular clients again #4

Closed
Thammada opened this issue Mar 29, 2017 · 1 comment
Closed

Support regular clients again #4

Thammada opened this issue Mar 29, 2017 · 1 comment
Labels

Comments

@Thammada
Copy link

I guess operations here would be undefined when using a client other than apollo-upload-client

undefined:1
undefined
^

SyntaxError: Unexpected token u in JSON at position 0
at Object.parse (native)
at form.parse (/Users/t/apps/thai.run-api/node_modules/apollo-upload-server/dist/apollo-upload-server.js:29:25)
at IncomingForm. (/Users/t/apps/thai.run-api/node_modules/formidable/lib/incoming_form.js:102:9)
at emitOne (events.js:96:13)
at IncomingForm.emit (events.js:188:7)
at IncomingForm._error (/Users/t/apps/thai.run-api/node_modules/formidable/lib/incoming_form.js:290:8)
at IncomingMessage. (/Users/t/apps/thai.run-api/node_modules/formidable/lib/incoming_form.js:120:12)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at abortIncoming (_http_server.js:283:11)
at Socket.serverSocketCloseListener (_http_server.js:296:5)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at TCP._handle.close [as _onclose] (net.js:498:12)

@jaydenseric
Copy link
Owner

You're quite right, with the new version that I rushed out to support query batching clients not using apollo-upload-client won't work. I am aware of the issue, have been feeling quite guilty about it and expect to resolve it this weekend.

Sorry!

@jaydenseric jaydenseric changed the title version 2.0.0 breaks when executing a query (from GraphiQL) Support regular clients again Mar 29, 2017
krasivyy3954 added a commit to krasivyy3954/react-graphql-upload that referenced this issue Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants