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

graphql / apollo client support #521

Open
RobinKamps opened this issue Jul 15, 2020 · 1 comment
Open

graphql / apollo client support #521

RobinKamps opened this issue Jul 15, 2020 · 1 comment

Comments

@RobinKamps
Copy link

Currently this library uses xmlhttprequest post requests.
Is it possible to support file upload via graphql as well?

Using apollo client here - it would be great, if a user of you library could inject custom implementations e.g. callbacks of the file upload function and for the status updates (how to retrieve upload progress status, error message, etc.).

https://github.com/jaydenseric/graphql-multipart-request-spec

@RobinKamps RobinKamps changed the title graphql / appollo client support graphql / apollo client support Jul 15, 2020
@jkuri
Copy link
Contributor

jkuri commented Jul 15, 2020

Hi, the whole library depends on xmlhttprequest so I don't this makes a lot of sense. We would basically need to refactor the whole library to support different methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants