aerogear / aerogear/create-graphql
Refactor to support plugin like babel
未關閉
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 還沒有評估資料。