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

Non-overridable options in network layer middleware #627

Closed
rricard opened this issue Sep 9, 2016 · 0 comments
Closed

Non-overridable options in network layer middleware #627

rricard opened this issue Sep 9, 2016 · 0 comments
Assignees

Comments

@rricard
Copy link
Contributor

rricard commented Sep 9, 2016

Hello!

I'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).

I'm creating a PR right away but if you wish to discuss this, we can do it here!

@rricard rricard self-assigned this Sep 9, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant