{"action":"created","issue":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/82","repository_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client","labels_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/82/comments","events_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/82/events","html_url":"https://github.com/jaydenseric/apollo-upload-client/issues/82","id":307199507,"node_id":"MDU6SXNzdWUzMDcxOTk1MDc=","number":82,"title":"File sending does not work","user":{"login":"afuno","id":2853419,"node_id":"MDQ6VXNlcjI4NTM0MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2853419?v=4","gravatar_id":"","url":"https://api.github.com/users/afuno","html_url":"https://github.com/afuno","followers_url":"https://api.github.com/users/afuno/followers","following_url":"https://api.github.com/users/afuno/following{/other_user}","gists_url":"https://api.github.com/users/afuno/gists{/gist_id}","starred_url":"https://api.github.com/users/afuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afuno/subscriptions","organizations_url":"https://api.github.com/users/afuno/orgs","repos_url":"https://api.github.com/users/afuno/repos","events_url":"https://api.github.com/users/afuno/events{/privacy}","received_events_url":"https://api.github.com/users/afuno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-03-21T11:02:22Z","updated_at":"2018-06-06T01:42:25Z","closed_at":"2018-04-11T00:06:19Z","author_association":"NONE","body":"I'm trying to pass a File object (Vue.js). But on the server side (Rails 5: https://github.com/jetruby/apollo_upload_server-ruby), I see this in the logs:\r\n\r\n```\r\nParameters: {\"operationName\"=>nil, \"variables\"=>{\"value\"=>{}}, \"query\"=>\"mutation ($value: Upload!) {\\n  single_change_file(input: {value: $value}) {\\n    result\\n    __typename\\n  }\\n}\\n\"}\r\n```\r\n\r\nWhy is not the file being sent?\r\nI used the Vue CLI Apollo (https://github.com/Akryum/vue-cli-plugin-apollo), which created the configuration files."},"comment":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/comments/394912774","html_url":"https://github.com/jaydenseric/apollo-upload-client/issues/82#issuecomment-394912774","issue_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/82","id":394912774,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDkxMjc3NA==","user":{"login":"romarioraffington","id":7076981,"node_id":"MDQ6VXNlcjcwNzY5ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/7076981?v=4","gravatar_id":"","url":"https://api.github.com/users/romarioraffington","html_url":"https://github.com/romarioraffington","followers_url":"https://api.github.com/users/romarioraffington/followers","following_url":"https://api.github.com/users/romarioraffington/following{/other_user}","gists_url":"https://api.github.com/users/romarioraffington/gists{/gist_id}","starred_url":"https://api.github.com/users/romarioraffington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romarioraffington/subscriptions","organizations_url":"https://api.github.com/users/romarioraffington/orgs","repos_url":"https://api.github.com/users/romarioraffington/repos","events_url":"https://api.github.com/users/romarioraffington/events{/privacy}","received_events_url":"https://api.github.com/users/romarioraffington/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T01:42:25Z","updated_at":"2018-06-06T01:42:25Z","author_association":"NONE","body":"@jaydenseric, still trying to debug. The middleware setup seems to be fine:\r\n\r\n```\r\nconst app = express();\r\napp.use(cors('*'));\r\napp.use(authenticationCheck(models));\r\napp.use('/graphiql', graphiqlExpress({ endpointURL: '/graphql' }));\r\n\r\napp.use(\r\n\t'/graphql',\r\n\tbodyParser.json(),\r\n\tapolloUploadExpress({\r\n\t\tmaxFileSize: process.env.MAX_FILE_SIZE,\r\n\t\tmaxFiles: process.env.MAX_FILES,\r\n\t}),\r\n\tgraphqlExpress((req) => ({\r\n\t\tschema,\r\n\t\tformatError,\r\n                ...\r\n\t}))\r\n);\r\n```"}}
{"actor":{"display_login":"romarioraffington"}}