Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Support Modules #523

Closed
mavilein opened this issue Sep 9, 2017 · 1 comment
Closed

Support Modules #523

mavilein opened this issue Sep 9, 2017 · 1 comment
Milestone

Comments

@mavilein
Copy link
Member

mavilein commented Sep 9, 2017

Modules allow you to better structure code.

You could include a weather module in your graphcool.yaml file like this:

modules:
  weatherModule: "modules/weather/weather.yaml"

Modules have the same features as normal Graphcool projects with the one limitation that they can not reference other modules. Functions, permissions, rootTokens and types in a module are merged into your project and are not name-spaced. If there are conflicts you won't be able to deploy your project.

@marktani
Copy link
Contributor

marktani commented Sep 9, 2017

We'll collect example modules here: https://github.com/graphcool/modules. Modules shall increase reusability and structure in your code base.

@sorenbs sorenbs closed this as completed Sep 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants