将图像上传到GraphQL服务器 [英] Upload image to GraphQL server
本文介绍了将图像上传到GraphQL服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用
但是在服务器中,当我登录时,它看起来像这样:
But in the server, when I log it, it looks like this:
{ preview: 'blob:http://localhost:3000/c622b0bd-3f0d-4f52-91f4-7676c8534c59' }
我正在按照 graphql-server-express-upload中自述文件中的说明进行操作,但到目前为止还没有运气.如何获得完整图像?
I'm following the instructions in the readme in graphql-server-express-upload, but no luck so far. How do I get the full image?
推荐答案
我最终使用了 apollo-upload-client ,效果很好!
I ended up using apollo-upload-client, works great!
这篇关于将图像上传到GraphQL服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文