howtographql / graphql-js

https://www.howtographql.com/graphql-js/1-getting-started/
363 stars 126 forks source link

Prisma Generate hook is no longer needed #67

Closed connorlindsey closed 3 years ago

connorlindsey commented 4 years ago

From the Prisma CLI: Warning: The 'prisma generate' command was executed twice. Since Prisma 1.31, the Prisma client is generated automatically after running 'prisma deploy'. It is not necessary to generate it via a 'post-deploy' hook any more, you can therefore remove the hook if you do not need it otherwise.

We should remove hook from prisma.yml.