Twitch 是否可以将 GraphQL 与 Twirp RPC 框架一起使用

Is it possible to use GraphQL with Twirp RPC framework by Twitch

我有一个使用 Twirp 的 Golang 程序,我想创建 GraphQl 服务器,但据我所知,twirp 构建在 Rest 之上 API

绝对有可能。

您只需对基于 Twirp 的 RPC 进行包装 API。

这类似于将 GraphQL API 包装在 Rest API 上。

您还应该 read this article,其中显示了 graphql api 对其余图形的包装。