GraphQL Tools is a set of NPM packages and an opinionated structure for how to build a GraphQL schema and resolvers in JavaScript, following the GraphQL-first development workflow. Use the GraphQL schema definition language to generate a schema with full support for resolvers, interfaces, unions, and custom scalars. With GraphQL Tools, you can mock your GraphQL API with fine-grained per-type mocking for fast prototyping without any data sources. Automatically stitch multiple schemas together into one larger API in a simple, fast and powerful way. You can develop your JavaScript-based GraphQL API with graphql-tools and GraphQL Yoga together: One to write the schema and resolver code, and the other to connect it to a web server. When using graphql-tools, you describe the schema as a GraphQL-type language string.
Features
- Bind to HTTP
- You can check GraphQL Yoga for other JavaScript platforms and frameworks besides vanilla Node.js HTTP
- GraphQL-Tools schema can be consumed by frameworks like GraphQL Yoga, Apollo GraphQL or express-graphql
- Define resolvers as a nested object that maps type and field names to resolver functions
- You can develop your JavaScript based GraphQL API with graphql-tools and GraphQL Yoga together
- Mock your GraphQL API
- Stitch multiple schemas