aerogear / aerogear/create-graphql

Refactor to support plugin like babel

オープン
#59 コメント 9 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement help wanted new feature
主要言語
JavaScript
スター
438
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

説明

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`.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。