aerogear / aerogear/create-graphql

Create a mongoose schema when generating a new type

Đang mở
#38 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

I can see that it is possible to create a graphql **type** or **mutation** based on an existing mongoose schema using the `--schema` command, it would be great if creating a model without an existing mongoose schema could generate one.

For example the command:

`create-graphql generate -tm User`

Generates:

`./src/model/User.js`

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.