Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including graphql-composer with all npm packages installed. Try it out:

var graphqlComposer = require("graphql-composer")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

graphql-composer v1.0.65

Create your GraphQL API using composition!

graphql-composer

Create your GraphQL API using composition!


graphql-composer-decorators

GraphQL comes to revolutionize backend development, the fact that you have to declare types is something very useful, however it can lead to code duplication and therefore affect the stability of your application. Indeed, based on the DRY (Don't Repeat Yourself) principle, the fact of declaring several times the same element in a different way should be avoided, because when this element changes it is necessary to modify several parts of code, so if only one of these parts is omitted it can cause problems in your application and the more it grows the harder it will be to maintain it.

Go to the documentation

graphql-composer

The graphql-composer-decorators module is broken down into two modules instead of making one heavier, graphql-composer simply provides a compositing API which allows you to create an API using the "builder" design pattern and compositing.

Documentation for this module will be available soon.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free