You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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!
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 ofHTTPNetworkTransport
is not part of theNetworkTransport
protocol ? This would be nice for people using a custom transport layer, such as Alamofire for example.The text was updated successfully, but these errors were encountered: