aerogear/create-graphql

Create a mongoose schema when generating a new type

オープン

#38 opened on 2016/12/30

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (51 件のフォーク)batch import
help wantednew feature

Repository metrics

Stars
 (440 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド