Closed phra closed 7 years ago
this is probably a problem with the way with parse mongoose schema in this function: https://github.com/lucasbento/create-graphql/blob/master/packages/generator/src/utils.js#L134
do you wanna send a PR fixing this?
Nice!
hi,
when i'm trying to generate a type and a mutation from this example schema, the generator will crashes because of missing 'type' property on the field.
changing the schema in this way make the generator works again: