If you’re working with AWS AppSync or any modular GraphQL API, you’ve probably want to split your schema across multiple files. This is great for developer sanity—but AppSync prefers a single .graphql file. Let’s automate that. This post walks through a simple Node.js script that uses the @graphql-tools ecosystem to: ✅ Load and merge your GraphQL schemas ✅ Resolve conflicts ✅ Write the final resul