K
K
kd241286zjv2019-05-13 14:38:17
Vue.js
kd241286zjv, 2019-05-13 14:38:17

How to implement progressbar in graphQL?

actually that's the whole question. there is a file upload mutation

this.$apollo.mutate({
          variables: {
            file: file
          },
          mutation: gql`mutation($file: Upload) {
            uploadTrack (file: $file){
              id
            }
          }`
        })

I have experience only using fetch, xhr. I have no idea how to do this with apollo and graphQL. share knowledge

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question