has anyone the problem that the prisma.ts is not g...
# prisma-whats-new
t
has anyone the problem that the prisma.ts is not generated again if i invoke prisma deploy
a
double check your .graphqlconfig.yml. Does the
database
project contain an extension object called
prepare-binding
?
t
projects: app: schemaPath: “src/schema.graphql” extensions: endpoints: default: “http://localhost:4000” database: schemaPath: “src/generated/prisma.graphql” extensions: prisma: database/prisma.yml prepare-binding: output: src/generated/prisma.ts generator: prisma-ts
yes the graphql file is generated if a change is there
a
Hmm... and does your deploy output say 'Running graphql prepare' somewhere?
t
no
if i delete the generated folder it should be created again right?
a
I would leave the empty folder just to be sure (don't know if it creates it...), but yes, the files should be regenerated
t
nope
no file gets created
a
Can you share the output of
prisma deploy
?
t
yes i tested now with a datamodel change and this works but only the graphql file gets autogenerated again