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
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...