graphql-boilerplates / typescript-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

src/generated/prisma.ts not regenated

Fonz001 opened this issue · comments

src/generated/prisma.ts is not regenerated at prisma deploy (for both the advanced and basic boilerplate).

src/generated/prisma.graphql is regenerated however....

Thnx in advance!

Thnx to graphcool slack I found the solution: Install graphql-cli and run graphql prepare . Would be nice to have this command integrated in the package.json or the prisma deploy. :-)

Thanks for reporting, @Fonz001! This is fixed in the latest prisma version: https://github.com/graphcool/prisma/issues/1695.