Are there any plans on supporting Federation (https://www.apollographql.com/docs/apollo-server/federation/introduction/)?
Hi @fbjork yes work to enable schema stitching is in progress.
@benwilson512 Did you mean Apollo Federation because Federation has replaced the now deprecated, Schema Stitching? https://www.apollographql.com/docs/graphql-tools/schema-stitching/
@conradwt sure, we have been using the term "schema stitching" to simply loosely refer to the idea of aggregating several different schemas into one queryable schema, we were not planning to copy Apollo's implementation verbatim.
At the current moment the main focus has simply been on making Absinthe schemas easier to construct in a data driven way. 1.5 will release with those features, and then the Absinthe core team will look at tools to provide the "gateway" style features that Apollo Federation has. There are some examples of this already within the community I believe.
I guess, now one can simply use the GraphQL Mesh to transform an existing endpoint into a Federation-conforming one https://graphql-mesh.com/docs/transforms/federation/
~as for stitching, one can do it externally: https://github.com/Urigo/graphql-mesh/blob/d4fa3774d00e294e2da9a90425a442c530676c9d/examples/openapi-location-weather/src/mesh/additional-resolvers.ts~
also relevant for #387
Update: stitching is still non-trivial to get right, as is federation
update: stitching has gotten easier: See an example here https://github.com/d-led/graphql_mesh_federation_test. Adding federation might have gotten better as well
Most helpful comment
@conradwt sure, we have been using the term "schema stitching" to simply loosely refer to the idea of aggregating several different schemas into one queryable schema, we were not planning to copy Apollo's implementation verbatim.
At the current moment the main focus has simply been on making Absinthe schemas easier to construct in a data driven way. 1.5 will release with those features, and then the Absinthe core team will look at tools to provide the "gateway" style features that Apollo Federation has. There are some examples of this already within the community I believe.