api-platform / api-platform/core

Support for GraphQL Federation?

Open
#8,020 6 comments 9 reactions 0 assignees View on GitHub
GraphQL
Dominant language
PHP
Stars
2.6k
Forks
980
Avg merge
2d 4h
Merged PRs (30d)
49

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.