api-platform / api-platform/core

Support for GraphQL Federation?

未關閉
#8,020 6 則留言 9 個 reaction 已指派 0 人 在 GitHub 檢視
GraphQL
主要語言
PHP
星號
2.6k
分支
980
平均合併
2 天 2 小時
30 天內合併 PR
51

描述

**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 摘要。