Hello all! May someone remind me again why we need...
# prisma-whats-new
p
Hello all! May someone remind me again why we need to check the
generated
folder to Git?
n
You don't have to 🙂 By default, those files are generated by
prisma deploy
. You are not always running
prisma deploy
after cloning a repo, so if you then need those files, you need to generate them yourself using the
graphql
CLI
p
Oh yeah, I believe that was the reason; but then it’s more disciplined to
deploy
when `pull`ing 😉
What pains me is that the folder is within
src
really… but that’s just meticulous me 😄
If I change
schemaPath
in
.graphqlconfig.yml
there shouldn’t be any side effects I suppose, no?
you need to adjust this path as well
That's also part of the reason it's in
src
, because it is a file that is imported/used from there. Not all deployments options would include the files outside of
src
by default.
p
I see
I was just thinking of
now
indeed
Do you think it may be problematic?
n
What may be?
p
Deployment to
now
But I’ll be trying all this, don’t worry; all works well for now. Thank you!
💯 1
n
With this modification, I believe it would be problematic for
now
, but I'm not sure 🙂
great, thanks!
p
I’ll post something on the forum if so 🙂
🙌 1