aerogear / aerogear/create-graphql

Refactor to support plugin like babel

Ouverte
#59 9 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
enhancement help wanted new feature
Langage dominant
JavaScript
Étoiles
438
Forks
35
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Babel plugin object example:

```jsx
type PluginObject = {
pre?: Function;
post?: Function;
manipulateOptions?: Function;

visitor: ?{
[key: string]: Function | {
enter?: Function | Array;
exit?: Function | Array;
}
};
};
```

each babel plugin returns an object like this.

we should think in CreateGraphQL PluginObject as well.

---

- [ ] Separate `mongoose` schema to a plugin;
- [ ] Separate `relay` templates to a plugin (figure out how to best do this);
- [ ] Create boilerplate projects for Create-GraphQL plugins;
- [ ] Handle `plugins` property on `.graphqlrc`.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.