Iron session with graphql #764
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Also very interested in using this with |
Beta Was this translation helpful? Give feedback.
-
Also been trying to figure this out 🤔 |
Beta Was this translation helpful? Give feedback.
-
Any pointers/suggestions on how to use @apollo/client with the V8 update for Server Actions |
Beta Was this translation helpful? Give feedback.
-
Hey there, can you provide specific details of what you're trying to achieve, what worked and what failed? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Will try the new release first and will get back to you! It has been a couple of days since ive tried it so i dont remember the finer details. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Hey @jorgev259 you can see a live example of using cookies() with iron session here: https://get-iron-session.vercel.app/app-router-server-component-and-action. Open a different issue if this is unrelated to graphql. Thanks! I believe you issue is that you call cookies() too early here. |
Beta Was this translation helpful? Give feedback.
-
I am gonna close this for now. |
Beta Was this translation helpful? Give feedback.
Hey @jorgev259 you can see a live example of using cookies() with iron session here: https://get-iron-session.vercel.app/app-router-server-component-and-action. Open a different issue if this is unrelated to graphql. Thanks!
I believe you issue is that you call cookies() too early here.