Ahmad
05/18/2020, 2:35 PMprisma deploy
after than prisma generate
, But do I have to write Query and Mutation related schema.graphql
and schemaTypes.graphql
by hand?
I have alot of modules in code where these files are present and look very much auto gen. But prisma generate
doesn't seem to have any command for this neither does graphqlgen
(0.5.0).Ryan
05/18/2020, 2:58 PMschema.graphql
you would need to use something like Nexus that will generate the schema.graphql
based on the models that you create.Ahmad
05/18/2020, 3:01 PMAhmad
05/18/2020, 3:02 PMgraphql
and graphql-cli
then.