API stitching with Apollo

Combine your APIs into one

Problem

How to query multiple GraphQL APIs from a single endpoint?

Content API

Identity API

Schema stitching allow combining multiple GraphQL APIs into a single GraphQL API.

Links are fields that combines two types from different schemas.

Schema transforms is a new concept that solves many issues related to combining of schemas.

Filter transform allow selecting the entry points for a schema, as well as removing certain types from the schema.

Rename transforms allow renaming parts of a schema, which is especially useful for conflicts between type names.

You can also create your own custom transforms to customize the result of combining your schemas.

Schema delegation allow keeping the original, untransformed schema around.

Fin.

Questions?

Resources

API stitching with Apollo

By Christoffer Niska

API stitching with Apollo

  • 405