Company
Date Published
Author
Sashko Stubailo
Word count
1568
Language
English
Hacker News points
None

Summary

The next generation of schema stitching is now available in graphql-tools 3.0, which simplifies and improves the process of combining multiple GraphQL APIs or using an existing API in a new one. This release introduces a new concept called "schema transforms," which enables modifying schemas before or after they are stitched together, making it easier to handle conflicts and avoid exposing unnecessary fields. The new feature also includes pre-implemented transforms for common use cases such as filtering, renaming, and delegating to existing schemas. With graphql-tools 3.0, developers can now reshape GraphQL schemas at will while ensuring all queries work as expected, which is critical for namespacing, schema conflicts, and limited access to specific fields. The new release also includes a set of examples and documentation to help users get started with implementing their own transforms.