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
- Cant configure email templates
i configure it on the console, and when i send the OTP, it sends with appwrite's email (instead of custom smtp) and with the branding, but i have the Pro (educa...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?