I do have ``` hooks: post-deploy: - graphql...
# orm-help
p
I do have
Copy code
hooks:
  post-deploy:
    - graphql get-schema --project prisma
    - graphql prepare
in my
prisma.yml
file
n
1. it's
graphql get-schema
that is generating
prisma.graphql
, not
graphql prepare
2. can you share your
.graphqlconfig.yml
?
p
Copy code
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
n
there are two "projects" in this config file:
app
and
database
. You should use
graphql get-schema --project database
instead of
graphql get-schema --project prisma
.
p
👍
n
is that set up incorrectly somewhere you copied it from?
p
I think it’s due to me missing this during the project upgrade from 1.6 to 1.7