<@U0RQY0KK5> Hi, is there a playground on prisma c...
# orm-help
v
@nilan Hi, is there a playground on prisma cloud that supports relay?
n
The Prisma API supports Relay, have you tried? 🙂
v
Is this a nice way of saying that you don't yet have playground support for Relay in Prisma's playground. 🙂 I am getting ready to move to Prisma so trying to understand the platform before moving. To your point, I fully understand Relay support is available in the API … my question is specific to Prisma's playground.
n
I don't understand what it means for Playground to support Relay.
also, please don't share thread messages to #general 👍
v
With graphcool, there were two playground end points, one for the simple API and the other for Relay. I could switch to the relay one and try out queries before adding them to my Scala sri framework code where I'm using Relay. However, playing with Prisma, I can't figure out how to switch to Relay mode. What I see at https://eu1.prisma.sh/&lt;userid&gt;/demo/dev is a playground which doesn't seem to auto-complete for what I expect to be Relay types. For example, the viewer type doesn't auto complete. Sorry if this is still unclear.
n
ah, no now it's clear 🙂
there is only one API in Prisma
there is no
viewer
query - you can build it in your GraphQL Server if needed
there are
posts
queries (akin to Simple API) and
postsConnection
queries (akin to Relay API)
v
Sorry, looks like I missed that memo. Finally clicked. Thanks.
n
No worries at all, that should clearly be documented better. I added some more information here: https://github.com/graphcool/prisma/issues/2427 🙂
Thanks!
v
Oh, I see. So, looks like until https://github.com/graphcool/prisma/issues/1780 is address, I shouldn't move over a Relay app. Fair enough?