aerogear/create-graphql
GitHub で見るCreate a mongoose schema when generating a new type
Open
#38 opened on 2016年12月30日
help wantednew feature
説明
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