Hey there. I'm sorry if this a dumb question, since I'm new to both SSR and GraphQL, but how would I create a GraphQL instance with the new SSR authentication method that you are creating over here?
https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-3
Do I need to somehow squeeze an
export const graphql = new Graphql(client);
inside the createSessionClient?
And how exactly would I need to call this GraphQL instance when fetching inside a component/page?
(I am aware this is still unreleased for cloud)
Many thanks!
1.5 is not on cloud yet so you can't use any of the 1.5 features or an SDK meant for 1.5
Thanks, so will there be a graphQL example for cloud when 1.5 is released?
Auth SSR with graphQL I mean
The only special/new thing is SSR for authentication and setting of a client that can make authenticated API calls. After that, everything is the same with 1.4
Recommended threads
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...