do I have to do something in particular to get the...
# orm-help
v
do I have to do something in particular to get the generated prisma graphql schema updated on deploy?
n
you have to either generate it yourself or set up a post deployment hook that does this
v
graphql get-schema --project prisma You don’t have any enpoint in your .graphqlconfig. Run graphql add-endpoint to add endpoint to your config
in both cases
I am evolving things from the permission-example, which doesn’t have an endpoint in the .graphqlconfig
v
Well, I did try to specify the my prisma endpoint there, I also got an error… Let me get that for you 😄 (Thanks btw!)
n
this one uses the
prisma
extension as well, which is more commonly used: https://github.com/graphql-boilerplates/node-graphql-server/blob/master/advanced/.graphqlconfig.yml
v
Copy code
Syntax Error GraphQL request (13:3) Expected Name, found String

12: type BatchPayload {
13:   """The number of nodes that have been affected by the Batch operation."""
      ^
14:   count: Long!
n
you seem to run a quite old version of
graphql-cli
.
and/or
prisma
.
v
prisma is the demo server in the cloud
n
your CLI version is the deciding factor in this context, not the demo server version.
v
graphql-cli just installed… and I got 2.0.2
is that old?
n
yes.
2.16.3
v
updating now…
I only installed it the first time a week ago
odd
boom, that worked
on the ball, as always @nilan!
1
and my app works again, too
awesome stuff
thanks for being around on a Saturday! Trying to finish a prototype before I go on holiday on Monday 🙂
n
happy holidays!