how does GraphQL upload files? Vue-apollo, for front end laravel-graphql for back end
how does GraphQL upload files? Vue-apollo, for front end laravel-graphql for back end
graphQL is not coupled to query and upload
our front-end Angularjs-apollo, while the back-end java-graphql is now having trouble uploading files. It seems that graphql does not support the value transfer of file streams, but is implemented with traditional form form submission.
if you use the Apollo
series framework, then apollo-upload-client can upload files. For more information, please see readme
I haven't tried it yet, but there are examples of uploading files in graphql-laravel library. I don't know if it's the one you use.
https://github.com/jaydenseri.
git hub has a positive answer