【问题标题】:How to use subscription of GraphQL in Graphql.js如何在 Graphql.js 中使用 GraphQL 订阅
【发布时间】:2018-02-25 14:17:23
【问题描述】:

我正在使用relay-fullstack。它正在使用GraphQL.js。我想在GraphQL.js 中使用 GraphQL 订阅。但是我在GraphQL.js 中找不到关于订阅 GraphQL 的文档。
我可以在GraphQL.js 中使用 GraphQL 订阅吗?
还是不支持?

【问题讨论】:

    标签: node.js graphql relayjs graphql-js relay


    【解决方案1】:

    是的,你可以!我基于 Facebook relay-examples todo relay modern 创建了一个简单的存储库,具有订阅支持(服务器和客户端),您可以查看它,我将来可能还会改进它:https://github.com/jeremy-colin/relay-examples-subscription

    【讨论】:

      猜你喜欢
      • 2019-11-27
      • 2017-10-31
      • 2019-09-27
      • 2020-11-17
      • 2021-12-19
      • 1970-01-01
      • 2019-05-18
      • 2019-03-01
      • 2018-12-09
      相关资源
      最近更新 更多