【问题标题】:How to use pass TypeGraphQL resolver into buildSubgraphSchema when federating a GraphQL service联合 GraphQL 服务时如何使用将 TypeGraphQL 解析器传递到 buildSubgraphSchema
【发布时间】:2022-07-02 05:24:23
【问题描述】:

我正在尝试联合服务,但没有运气通过架构和解析器传递给 Apollo 构造函数中的 buildSubgraphSchema 方法。这甚至可能吗?

【问题讨论】:

    标签: typescript graphql apollo typegraphql


    【解决方案1】:

    同样的问题,我尝试使用 createResolversMap 和 buildTypeDefsAndResolvers 但没有运气。

    【讨论】:

      猜你喜欢
      • 2021-08-30
      • 1970-01-01
      • 2018-01-05
      • 1970-01-01
      • 2018-09-21
      • 1970-01-01
      • 2020-12-21
      • 1970-01-01
      • 2018-12-20
      相关资源
      最近更新 更多