api-platform / api-platform/core

Support for GraphQL Federation?

Aperta
#8,020 6 commenti 9 reazioni 0 assegnatari Vedi su GitHub
GraphQL
Lingua principale
PHP
Stelle
2.6k
Fork
980
Merge medio
2g 4h
PR unite (30g)
49

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.