great write up for how to use ActiveStorage with GraphQL, I am using Apollo at the client side, I am wondering how your client works to send the request to GraphQL endpoint to create the direct upload, in my case, I have to wrap it in a component to do the mutation, not sure how you do it
great write up for how to use ActiveStorage with GraphQL, I am using Apollo at the client side, I am wondering how your client works to send the request to GraphQL endpoint to create the direct upload, in my case, I have to wrap it in a component to do the mutation, not sure how you do it
We stopped using Apollo a while ago, now we use a little bit enhanced
fetch
.Here is the example of direct upload functionality from our React Native client: gist.github.com/Saionaro/7ee0e2c02...
cool, thank you for sharing that :)