{"action":"opened","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/627","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/627/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/627/events","html_url":"https://github.com/apollostack/apollo-client/issues/627","id":176003958,"number":627,"title":"Non-overridable options in network layer middleware","user":{"login":"rricard","id":246520,"avatar_url":"https://avatars.githubusercontent.com/u/246520?v=3","gravatar_id":"","url":"https://api.github.com/users/rricard","html_url":"https://github.com/rricard","followers_url":"https://api.github.com/users/rricard/followers","following_url":"https://api.github.com/users/rricard/following{/other_user}","gists_url":"https://api.github.com/users/rricard/gists{/gist_id}","starred_url":"https://api.github.com/users/rricard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rricard/subscriptions","organizations_url":"https://api.github.com/users/rricard/orgs","repos_url":"https://api.github.com/users/rricard/repos","events_url":"https://api.github.com/users/rricard/events{/privacy}","received_events_url":"https://api.github.com/users/rricard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-09T13:02:25Z","updated_at":"2016-09-09T13:02:25Z","closed_at":null,"body":"Hello!\r\n\r\nI'm trying to implement file upload _via_ a middleware. This would work if I was able to override the request's options completely. However, this is currently not possible since the network layer will reapply its own options on top of what I defined (see https://github.com/apollostack/apollo-client/blob/aeefad5/src/networkInterface.ts#L186).\r\n\r\nI'm creating a PR right away but if you wish to discuss this, we can do it here!"}}
{"actor":{"display_login":"rricard"}}