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

File downloading #5

Open
jmaicaaan opened this issue Jun 22, 2018 · 3 comments
Open

File downloading #5

jmaicaaan opened this issue Jun 22, 2018 · 3 comments

Comments

@jmaicaaan
Copy link
Member

Ability to download a file

@jmaicaaan
Copy link
Member Author

Hi @cedrickmandocdoc & @isotopeee , do guys have idea on this one? Hmm, I can't seem to find any example in the net on how to download using graphql. Also, having a second thought, the specification of the graphql is more on the "querying" & "mutating" data. With that, it is basically mapping from fields to fields (client to server). But the behavior of downloading is a different one from that.

Shall we move forward into having both worlds of graphql and rest in our ecosystem? Let me know your thoughts!

@isotopeee
Copy link

isotopeee commented Jun 24, 2018

Hi @jmaicaaan, I think you're right on your understanding about the GraphQL specification. You might want to check out this thread, it highlights the limitation of GraphQL for this use case. We should probably use REST for this one.

This thread also raises good points.

@jmaicaaan
Copy link
Member Author

Haha, I believe we just saw the same threads 😄

The combination of both is also ideal, right? We ain't breaking any pattern 🤔

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