aerogear / aerogear/create-graphql

Refactor to support plugin like babel

Đang mở
#59 9 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement help wanted new feature
Ngôn ngữ chính
JavaScript
Star
438
Fork
35
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.