Log in to GraphQL Editor
Docs
Introduction
Desktop app
External Tools
CLI

Integration installation | GraphQL CLI

Installation is done via GraphQL Editor by just using an npm package name and providing a resolver path to the node_modules path. The other way is to simply install it via GraphQL Editor:

package.json

{
  "dependencies": {
    "gei-crud": "0.0.2"
  }
}

stucco.json

{
  "resolvers": {
    "Query.objects": {
      "resolve": {
        "name": "node_modules/gei-crud/lib/Query/objects"
      },
      "data": {
        "model": {
          "value": "Pizza"
        }
      }
    }
  }
}