aerogear / aerogear/create-graphql

Create a mongoose schema when generating a new type

オープン
#38 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted new feature
主要言語
JavaScript
スター
438
フォーク
35
PR マージ指標
30日以内にマージされた 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`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。