-
Notifications
You must be signed in to change notification settings - Fork 12
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 error: Variable "image" not used #9
Comments
Hey @srosset81, I think it has something to do with #3. Try passing |
Thanks, I'll look into this.
Have a good holidays!
Le 23 déc. 2016 16:06, "Bojan Hribernik" <[email protected]> a
écrit :
… Hey @srosset81 <https://github.com/srosset81>, I think it has something
to do with #3
<#3>. Try
passing FileList instead of a single File. I will try to fix this after
NY, but ATM I have no time to do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARGem2f3XJjf0EW2GBA2nPst_YXzqugSks5rK-GLgaJpZM4LSreM>
.
|
Hello, Actually just removing On the isUpload() function:
and on the getUploadOptions() function:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to upload a file like this:
But I get this error message:
It seems that Apollo checks the mutation and notices that the $image variable is not used anywhere, even though I need to set it if I want the apollo-upload-network-interface to take care of it. I already had this problem when I did a custom implementation of a network interface, and the only way I found is to manually remove the
$image: UploadedFile
bit from the mutation string, not a great solution!Any idea of what might go wrong? Do you have a working example somewhere?
The text was updated successfully, but these errors were encountered: