aerogear / aerogear/create-graphql

Refactor to support plugin like babel

未關閉
#59 9 則留言 1 個 reaction 已指派 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 摘要。