I’m having some issues when running `prisma genera...
# orm-help
s
I’m having some issues when running
prisma generate
and it not doing _anything_… no generated files, no errors, nothing.
n
Can you share what your prisma.yml looks like?
s
No, it looks like this:
Copy code
endpoint: "${env:PRISMA_ENDPOINT}"
datamodel: datamodel.graphql

# The `secret` must be used to generate a JWT which is attached
# to the `Authorization` header of HTTP requests made against the Prisma API.
# Info: <https://www.prisma.io/docs/reference/prisma-api/concepts-utee3eiquo#authentication>
secret: ${env:PRISMA_SECRET}

# Seed database with test data
seed:
  run: yarn ts-node ./database/seed.ts
hooks:
  post-deploy:
    - graphql get-schema --project database
    - graphql codegen
n
Ah ok, that's the issue.
prisma generate
gets its information what to generate (i.e. which prorgramming language) and where the generated files should be located from your `prisma.yml`'s
generate
property
s
Ok, but the
post-deploy
hook also didn’t seem to want to work either…
I’ll try it now
n
There currently is a know issue around updating the schema using
graphql get-schema
as you do in your
post-deploy
hook: https://github.com/graphql-cli/graphql-cli/issues/354
👍 1
s
Ah my bad… think I’m getting confused between Prisma Client config and bindings
Yup, that issue is it
Weird issue, but that’s it! Thanks @nikolasburk
n
I'm posting a workaround in the issue 🙂