{"action":"opened","issue":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/94","repository_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server","labels_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/94/comments","events_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/94/events","html_url":"https://github.com/jaydenseric/apollo-upload-server/issues/94","id":345747550,"node_id":"MDU6SXNzdWUzNDU3NDc1NTA=","number":94,"title":"Getting empty object instead of file","user":{"login":"jordan-jarolim","id":33583000,"node_id":"MDQ6VXNlcjMzNTgzMDAw","avatar_url":"https://avatars2.githubusercontent.com/u/33583000?v=4","gravatar_id":"","url":"https://api.github.com/users/jordan-jarolim","html_url":"https://github.com/jordan-jarolim","followers_url":"https://api.github.com/users/jordan-jarolim/followers","following_url":"https://api.github.com/users/jordan-jarolim/following{/other_user}","gists_url":"https://api.github.com/users/jordan-jarolim/gists{/gist_id}","starred_url":"https://api.github.com/users/jordan-jarolim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordan-jarolim/subscriptions","organizations_url":"https://api.github.com/users/jordan-jarolim/orgs","repos_url":"https://api.github.com/users/jordan-jarolim/repos","events_url":"https://api.github.com/users/jordan-jarolim/events{/privacy}","received_events_url":"https://api.github.com/users/jordan-jarolim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T13:00:45Z","updated_at":"2018-07-30T13:00:45Z","closed_at":null,"author_association":"NONE","body":"Hi, I run into this problem and cannot figure it out. Once I upload file using apollo-upload-client + apollo-upload-server I am getting an empty object {} instead of a file. I went through several issues and everything seems to be set up correctly. \r\n1) I have createUploadLink set (https://github.com/jaydenseric/apollo-upload-server/issues/73)\r\n2) My payload looks like this - https://github.com/jaydenseric/graphql-multipart-request-spec#request-payload (https://github.com/jaydenseric/apollo-upload-client/issues/82)\r\n3) I have followed all the other steps in readme such as `scalar Upload` etc...\r\n\r\nHere is my server config:\r\n\r\n`server.use('/graphql', bodyParser.json(), auth, apolloUploadExpress(), graphqlExpress((req, res) => {\r\n const context = {\r\n user: req.user,\r\n req,\r\n res,\r\n};\r\nreturn {\r\nschema,\r\ncontext,\r\n};\r\n}));\r\n`\r\nIs there any known issue with bodyParser as mentioned in one of referenced issues? Could you point me to any other direction please?\r\n\r\nThanks"}}
{"actor":{"display_login":"jordan-jarolim"}}