Toolkit for generating complex GraphQL schemas in Node.js. Provides a type registry with a bunch of methods for programmatic schema construction. It allows not only to extend types but also remove fields, interfaces, args. If you want to write your graphql schema generator – graphql-compose is a good instrument for you. Provides methods for editing GraphQL output/input types (add/remove fields/args/interfaces) Introduces Resolver's – the named graphql fieldConfigs, which can be used for finding, updating, removing records. Provides an easy way for creating relations between types via Resolvers. Are declarative generators/plugins built on top of graphql-compose, which take some ORMs, schema definitions and create GraphQL Models from them or modify existing GraphQL Types. Adds additional types Date, Json.
Features
- Fast and convenient with SDL or Type instances
- Generate Types and modify them for better form
- All created types avaliable in SchemaComposer storage
- Includes Flowtype & TypeScript definitions
- Plugin may generate and modify your types
- Commonly used basic types Date, JSON