Could you provide a concret example how to use file upload for Apollo v0.13 ?
An official documentation is required for such a "complex" feature.
For example:
- How the
.graphql file should look ?
- Where GraphQLFile instances should be passed ?
In addition, why the upload function of HTTPNetworkTransport is not part of the NetworkTransport protocol ? This would be nice for people using a custom transport layer, such as Alamofire for example.
Could you provide a concret example how to use file upload for Apollo v0.13 ?
An official documentation is required for such a "complex" feature.
For example:
.graphqlfile should look ?In addition, why the
uploadfunction ofHTTPNetworkTransportis not part of theNetworkTransportprotocol ? This would be nice for people using a custom transport layer, such as Alamofire for example.