aerogear / aerogear/create-graphql
Create a mongoose schema when generating a new type
Ouverte
help wanted
new feature
- Langage dominant
- JavaScript
- Étoiles
- 438
- Forks
- 35
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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`
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.