Open sibelius opened 7 years ago
So to follow up on this, what exactly do you get with something like a create-graphql generate -tlcm Business --schema Business
. I see the generated folders and that the schema is not update. Is the expected behaviour that the files are generated then we manually update the other files like graphql with relay connections etc? Already a big win. Im just trying to understand the expected behaviour. Thank you.
@idkjs: yes, it is!
Currently we don't update any of the generated files.
On the next major version we are going to support plugins (#59) by handling everything through AST with babel-template and babylon so it will be much easier to create and edit files.
@idkjs the current work on plugins is on this branch https://github.com/lucasbento/create-graphql/tree/experimental
feel free to play against it, and try it out
@sibelius how do I use the experimental branch?
if I add one or more fields to my mongoose model, it would great to update the generated GraphQL files