aerogear / aerogear/create-graphql

Create a mongoose schema when generating a new type

Abierto
#38 4 comentarios 0 reacciones 0 asignados Ver en GitHub
help wanted new feature
Lenguaje dominante
JavaScript
Estrellas
438
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.