Open terion-name opened 6 years ago
I don't know apollo-upload-server
, so I haven't tried to use it with graphql-weaver. The spec says you need a multipart-request enabled client; the default HttpGraphQLClient
only supports HTTP with POST. Maybe you could provide your own GraphQLClient
implementation, but you would somehow need to connect this to the apollo-upload-server
, e.g. through the GraphQL context object.
The scalar prefixing is another issue, related to #13.
Hello.
Did you try/had success to use weaver together with uploads?
I have such gateway (it fetches backends per request — this is needed by design):
When I try to upload a file server fails with error:
Absolutely undebugable :(
First thought is that
apollo-upload-server
needs anUpload
scalar type, and after weaveSchemas — it is prefixed (toNewsUpload
for example).To begin with: Is there a way to not prefix scalars or certain types?
Or in general did you use this with uploads?