0

in graphcool, is a file upload a mutation that one can subscribe to?

if not: how would I get realtime updates on newly uploaded files?


I adapted the code from the subscriptions-with-apollo-instagram example, but this does not seem to work:

subscription {
    File (filter: { mutation_in: [CREATED] }) {
        node {
            id
            name
            url
            contentType
        }
    }
}
kindoflike
  • 437
  • 4
  • 16

1 Answers1

0

from the docs:

Currently, no Server-Side Subscriptions are triggered for the File type.
kindoflike
  • 437
  • 4
  • 16