You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue when posting a file using apollo-client (I am posting to apollo-server-lambda). The POST request looks like this, in other words, it's empty where the file content should be (I think?)
Closing because this issue is more a usage question about an implementation of the GraphQL multipart request spec, whereas this repo is about documenting the spec itself.
I have an issue
What exactly is the issue? Is there an error message, and is it on the client or server?
it's empty where the file content should be (I think?)
Probably the data is there; the Chrome network inspector just hides the huge binary blob of data. Here is an example that is working:
I'm using apollo-client-server like this:
Did you mean to say apollo-upload-client?
Note that graphql-upload doesn't officially support AWS Lambda; as a platform AWS Lambda isn’t very friendly to file uploads because it doesn't stream in requests. You can read more about it here:
Despite this, apollo-server-lambda does support the GraphQL multipart request spec. If you think you have found a bug with it it's best to raise an issue in their repo :)
Hi!
I have an issue when posting a file using
apollo-client
(I am posting to apollo-server-lambda). The POST request looks like this, in other words, it's empty where the file content should be (I think?)The file sent to the server looks like this:
I'm using apollo-client-server like this:
And here's my typedefs
And the mutation query looks like this:
I don't think I can google my problem more than I have. I would really appreciate som help <3
The text was updated successfully, but these errors were encountered: