aerogear / aerogear/create-graphql
Create a mongoose schema when generating a new type
Offen
help wanted
new feature
- Vorherrschende Sprache
- JavaScript
- Sterne
- 438
- Forks
- 35
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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`
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.