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

Upload binary files #16

Open
rewop opened this issue May 18, 2016 · 4 comments
Open

Upload binary files #16

rewop opened this issue May 18, 2016 · 4 comments

Comments

@rewop
Copy link

rewop commented May 18, 2016

I would like to create a mutation to upload images using lokka client. I am using express-graphql to implement my graphql express.

Searching possible implementation server side I found out this issue that explains one of the possible solutions using express middleware multer.

The explained example can be found here.

However I am not sure how to attach the file to the client side http request using lokka. Is there any example for this use case?

@stegben
Copy link
Contributor

stegben commented Jul 7, 2016

#20 ?

@rewop
Copy link
Author

rewop commented Jul 12, 2016

@stegben Thanks for the link. How would this help with the binary file? Do you mean to stringify the binary and send it with the mutation? If that so, I tried it in the past, and I think I encountered a body size limit problem.

@saharhashai
Copy link

+1

1 similar comment
@deanshub
Copy link

deanshub commented Aug 4, 2017

+1

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

4 participants