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:
.graphql file should look ?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.
@Drusy It's not on the protocol mostly because if it were, it'd need to be implemented in the Web Socket transport, where it doesn't really make a lot of sense. You should still be able to add it to your custom transport though!
Thanks for filing, will try to get a better example of this together soon.
This is now up with #707 - I also made some changes to simplify the upload system while trying to document it, so thank you for encouraging me to do that!
Significant changes to this along with way better documentation of this functionality have shipped with 0.15.0.
@designatednerd Ellen, finally got it working! I really appreciate your help and support! Thanks so much!!!!!!!!!
Yay! Glad it's working now!
Most helpful comment
This is now up with #707 - I also made some changes to simplify the upload system while trying to document it, so thank you for encouraging me to do that!