Hi, just joined. I want to do a Modern Relay app....
# prisma-whats-new
j
Hi, just joined. I want to do a Modern Relay app. Question is: when set up a new graphcool endpoint it gives you 2 urls. One is for "Relay" - is that Modern Relay or Classic Relay? If it is Classic, any way to get a Modern Relay endpoint?? Thanks !
n
you can use the Relay endpoint with both Relay Classic and Modern
j
Thanks !
n
you're very welcome 💚
j
Hi, going through the React & Relay Quickstart at https://docs-next.graph.cool/getting-started/react/relay-sot2faez6a. It asked me to: graphcool init graphcool --template blank
n
ya
j
but is came back with an error - Error: The following option is not recognized: template Any ideas ??
n
yea -- we updated our docs for the new CLI version, but did not adjust everything yet
you can run
npm install -g graphcool@beta
to get the latest CLI (beta), then you can follow these instructions 🙂
j
Oh, sounds just like what I am looking for ! Thanks !!
do you want feedback on the things I find as I go through the tutorial?
e.g. in step 6 Copy Relay API endpoint to ./src/… the tutorial asks you to cd to graphcool in a previous step, so . actually needs to be ..
n
yes please could you give the feedback here: https://github.com/graphcool-examples/react-graphql/issues? 🙂
thanks a lot!
j
I’ll add it there
Also submitted that Relay Modern tutorial needs a step: yarn relay to create __generated__/ files.