Company
Date Published
Author
Rishichandra Wawhal
Word count
1707
Language
English
Hacker News points
None

Summary

Schema stitching is a process that creates a single GraphQL schema from multiple underlying GraphQL APIs. It can be used to customize existing GraphQL API(s) and has various use cases such as merging two remote schemas, adding new queries and mutations, overriding existing queries and mutations, renaming root fields and types, extending a remote schema with custom types, and more. The graphql-tools library provides functions like makeExecutableSchema, introspectSchema, makeRemoteExecutableSchema, and mergeSchemas to aid in schema stitching.