api-platform / api-platform/core

Support for GraphQL Federation?

未关闭
#8,020 6 条评论 9 个 reaction 已指派 0 人 在 GitHub 查看
GraphQL
主要语言
PHP
星标
2.6k
派生
980
平均合并
2 天 4 小时
30 天内合并 PR
49

描述

**Description**
Since some time, Apollo supports a feature called Federation, which makes it possible to split a monolithic GraphQL server into microservices, so that each service only holds a small subgraph. The federation gateway stitches all these subgraphs back together into a single graph.

It would be great, if this kind of architecture would be possible with API platform, too?
I think, that it would be really beneficial for the PHP ecosystem to be listed in the supported libraries/frameworks, too (https://www.apollographql.com/docs/federation/other-servers/).

I think, that the biggest challenge for API platform would be, to support the "extension" of a graph entity, which isn't defined in the service itself (but another service).

Useful links:
* https://www.apollographql.com/docs/federation/
* https://docs.nestjs.com/graphql/federation

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。