【问题标题】:Graphcool subscriptions: new file uploadsGraphcool 订阅:新文件上传
【发布时间】:2018-02-16 05:29:56
【问题描述】:

graphcool,文件上传是可以订阅的突变吗?

如果不是:我如何获得新上传文件的实时更新?


我改编了the subscriptions-with-apollo-instagram example的代码,但这似乎不起作用:

subscription {
    File (filter: { mutation_in: [CREATED] }) {
        node {
            id
            name
            url
            contentType
        }
    }
}

【问题讨论】:

    标签: graphcool


    【解决方案1】:

    来自the docs

    Currently, no Server-Side Subscriptions are triggered for the File type.
    

    【讨论】:

      猜你喜欢
      • 2012-05-06
      • 2015-09-27
      • 1970-01-01
      • 2017-08-20
      • 1970-01-01
      • 2022-11-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多