Argh.. For the life of me I can’t seem to get the ...
# orm-help
s
Argh.. For the life of me I can’t seem to get the
graphql playground
command to open up both my application and prisma endpoints.
check this ^
also, a correct
.graphqlconfig.yml
is needed that contains two projects
s
@nilan I thought that just calling
graphql playground
with the
.graphqlconfig.yml
file set, with an
extensions: prisma: ...
set would do it?
Copy code
projects:
  app:
    schemaPath: src/schema.graphql
    extensions:
      endpoints:
        default: <http://localhost:4000>
  prisma:
    schemaPath: src/generated/prisma.graphql
    extensions:
      prisma: prisma/prisma.yml
Thought that would do it!?
n
it should, what happens instead?
s
@nilan could it be because I have a
secret: justasamplesecret
defined on my prisma service?
n
no. What are you observing when running
graphql playground
?
thanks for sharing the image in a DM. that's the electron app, right? what's its version?
s
How do I find out? Is that not the version I should be using?
n
this is a bug, so I want to check if you're on the latest version
if you click the app name then about you can see the version
s
1.4.3.2587
n
that's the latest version, could you check if the issue persist? https://github.com/prismagraphql/graphql-playground/releases/tag/v1.5.8 note, upgrading to this version will probably remove your existing queries etc, you might want to store them in a text file before 🙂
s
I’d thought i’d installed it through brew… 😕
n
note sure if that is possible 🤔
The Installation section on there…. no?
n
right! so, can you upgrade it using brew? 🙂
s
Ok, so that’s weird. My
brew
version is 1.5.8. Which means it’s launching another version when running
graphql playground
😕
n
is there one in your applications folder?
s
Yes
1 sec
Think it’s just an old version installed locally.
Updating now.
👍 Awesome. Working fine now! 🙂
🦜 1
Thanks @nilan
n
great!
s
I ended up having to do a forced
brew cask reinstall graphql-playground
but it’s working fine now
(In case anyone else has similar issues)