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
}
}
}
from the docs: