Title
s

steveb

04/30/2018, 2:53 PM
In prisma 1.7.x, are the post-deployment hooks supposed to be at the top-level of the
.graphqlconfig.yml
file or do they go under one of the other props (projects, app, database, etc)?
d

Dan

04/30/2018, 3:10 PM
My guess is it goes in prisma.yml in your database folder.
👍 1
s

steveb

04/30/2018, 3:40 PM
so it goes in
prisma.yml
? in the upgrade guide it says
.graphqlconfig.yml
n

nilan

04/30/2018, 3:42 PM
just read the respective section, the wording is a bit off
Invoke code generation as specified in .graphqlconfig.yml
you enter the hooks in
prisma.yml
. In this specific example, steps 2 and 3 use
graphql-cli
which does things according to
.graphqlconfig.yml
do you have a suggestion how we could phrase that more accurately? 🙂
s

steveb

04/30/2018, 3:48 PM
hmm, ok, i see where I was reading it wrong
it's actually worded ok
i just read it wrong
😄 1
n

nilan

04/30/2018, 3:48 PM
yea, I think it's too easy to misread... I'll give it a spin later today!
s

steveb

04/30/2018, 3:48 PM
maybe just prepend:
database/prisma.yml
before the hooks example
so we know what file that's for
n

nilan

04/30/2018, 3:51 PM
just did that! Simple and effective 💯
:party-parrot: 1